public interface ConnectionEstablishmentListener
| Modifier and Type | Method and Description |
|---|---|
void |
connectionClosed(java.lang.Object sessionIdentifier,
boolean fromOtherEnd)
Report that the established connection was shut down normally.
|
void |
connectionEstablished(java.lang.Object sessionIdentifier,
ConnState conn)
Report that the requested connection has been successfully established.
|
void |
connectionLost(java.lang.Object sessionIdentifier,
java.lang.Object reason)
Report that the established connection was closed abnormally.
|
void |
connectionNotEstablished(java.lang.Object sessionIdentifier,
java.lang.Object reason)
Report that the requested connection could not be established.
|
void connectionEstablished(java.lang.Object sessionIdentifier,
ConnState conn)
ConnState's ConnState.getInputStream() method so that
buffering for incoming I frames is ready as soon as possible so the first ones don't
get rejected.sessionIdentifier - identifier of the particular connectionconn - the ConnState object from which communications streams can be obtainedvoid connectionNotEstablished(java.lang.Object sessionIdentifier,
java.lang.Object reason)
sessionIdentifier - identifier of the particular connectionreason - object explaining why the connection could not be establishedvoid connectionClosed(java.lang.Object sessionIdentifier,
boolean fromOtherEnd)
sessionIdentifier - identifier of the particular connectionfromOtherEnd - boolean true if other end initiated the closevoid connectionLost(java.lang.Object sessionIdentifier,
java.lang.Object reason)
sessionIdentifier - identifier of the particular connectionreason - object explaining why the connection was lost