|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionEstablishmentListener
This interface provides an asynchronous callback for requests to open a AX.25 I-frame connection to another station. Each of these methods can only be called once for any given session.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void connectionEstablished(java.lang.Object sessionIdentifier,
ConnState conn)
sessionIdentifier - identifier of the particular connectionconn - the ConnState object from which communications streams can be obtained
void connectionNotEstablished(java.lang.Object sessionIdentifier,
java.lang.Object reason)
sessionIdentifier - identifier of the particular connectionreason - object explaining why the connection could not be established
void connectionClosed(java.lang.Object sessionIdentifier,
boolean fromOtherEnd)
sessionIdentifier - identifier of the particular connectionfromOtherEnd - boolean true if other end initiated the close
void connectionLost(java.lang.Object sessionIdentifier,
java.lang.Object reason)
sessionIdentifier - identifier of the particular connectionreason - object explaining why the connection was lost
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||