net.grinder.communication
Interface Acceptor.Listener

Enclosing class:
Acceptor

public static interface Acceptor.Listener

Listener interface.


Method Summary
 void connectionAccepted(ConnectionType connectionType, ConnectionIdentity connection)
          A connection has been accepted.
 void connectionClosed(ConnectionType connectionType, ConnectionIdentity connection)
          A connection has been closed.
 

Method Detail

connectionAccepted

void connectionAccepted(ConnectionType connectionType,
                        ConnectionIdentity connection)
A connection has been accepted.

Parameters:
connectionType - The type of the connection.
connection - The connection identity.

connectionClosed

void connectionClosed(ConnectionType connectionType,
                      ConnectionIdentity connection)
A connection has been closed.

Parameters:
connectionType - The type of the connection.
connection - The connection identity.


Copyright © 2000-2013. All Rights Reserved.