p2ps.endpoint
Interface ServerEndpointListener


public interface ServerEndpointListener

A listener that is notified when a ServerEndpoint received a new connection.

Version:
$Revision: 295 $
Author:
Ian Wang

Method Summary
 void connectionReceived(EndpointConnectionEvent event)
          Called when a new connection is received by a ServerEndpoint.
 

Method Detail

connectionReceived

public void connectionReceived(EndpointConnectionEvent event)
Called when a new connection is received by a ServerEndpoint. Note the connected ndpoint is not initialized and the init method should be called before the endpoint is used.