p2ps.endpoint
Class EndpointConnectionEvent

java.lang.Object
  extended byp2ps.endpoint.EndpointConnectionEvent

public class EndpointConnectionEvent
extends java.lang.Object

The event generated when a message is fully received by an endpoint

Version:
$Revision: 295 $
Author:
Ian Wang

Constructor Summary
EndpointConnectionEvent(Endpoint endpoint, Endpoint replyendpoint)
          Constructs a data message event.
 
Method Summary
 Endpoint getEndpoint()
           
 Endpoint getReplyEndpoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointConnectionEvent

public EndpointConnectionEvent(Endpoint endpoint,
                               Endpoint replyendpoint)
Constructs a data message event.

Parameters:
endpoint - the endpoint the connection was received on
replyendpoint - the endpoint on which replies to this connection should be sent
Method Detail

getEndpoint

public Endpoint getEndpoint()
Returns:
the endpoint the connection was received on

getReplyEndpoint

public Endpoint getReplyEndpoint()
Returns:
the endpoint on which replies to this connection should be sent