com.resilientedge.jockey.peerbridge
Interface SimpSockRequestListener

All Known Implementing Classes:
ZSimpSockConnectorTest, SimpSockMessenger, SimpSockDirectory

public interface SimpSockRequestListener

Interface implemented by objects to receive requests from the simpsock peer network.

Version:
$Revision: 1.1.1.1 $
Author:
jgardner

Method Summary
 Response doCall(Request req)
          Handle a request
 void doVoidCall(Request req)
          Handle a request which won't receive a response.
 java.lang.String getRequesteeName()
          Return the name by which this listener can be identified.
 

Method Detail

getRequesteeName

public java.lang.String getRequesteeName()
Return the name by which this listener can be identified.
Returns:
listener name

doCall

public Response doCall(Request req)
Handle a request
Parameters:
req - the request to handle
Returns:
a response

doVoidCall

public void doVoidCall(Request req)
Handle a request which won't receive a response.
Parameters:
req - the request to handle


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.