Firefish 0.5.10

gov.lbl.dsd.p2pio
Class ExchangeVerifier

java.lang.Object
  extended bygov.lbl.dsd.p2pio.ExchangeVerifier

public class ExchangeVerifier
extends Object

Checks whether the response to a given request is legal.

Version:
$Revision: 1.2 $, $Date: 2004/01/30 01:18:03 $

Method Summary
static void checkIsLegalResponse(Request req, Response rsp)
           
static void checkIsRequest(Msg req)
           
static void checkIsResponse(Msg rsp)
           
static boolean isLegalResponse(Request req, Response rsp)
          For the given request, is this a legal response?
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkIsRequest

public static void checkIsRequest(Msg req)

checkIsResponse

public static void checkIsResponse(Msg rsp)

isLegalResponse

public static boolean isLegalResponse(Request req,
                                      Response rsp)
For the given request, is this a legal response?


checkIsLegalResponse

public static void checkIsLegalResponse(Request req,
                                        Response rsp)

Firefish 0.5.10

Jump to the Firefish Homepage