Package org.ka2ddo.ax25
Interface ConnectionEstablishmentListener
- All Known Implementing Classes:
MainGui.InboundConnectedSessionListener
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.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectionClosed
(Object sessionIdentifier, boolean fromOtherEnd) Report that the established connection was shut down normally.void
connectionEstablished
(Object sessionIdentifier, ConnState conn) Report that the requested connection has been successfully established.void
connectionLost
(Object sessionIdentifier, Object reason) Report that the established connection was closed abnormally.void
connectionNotEstablished
(Object sessionIdentifier, Object reason) Report that the requested connection could not be established.
-
Method Details
-
connectionEstablished
Report that the requested connection has been successfully established.- Parameters:
sessionIdentifier
- identifier of the particular connectionconn
- the ConnState object from which communications streams can be obtained
-
connectionNotEstablished
Report that the requested connection could not be established.- Parameters:
sessionIdentifier
- identifier of the particular connectionreason
- object explaining why the connection could not be established
-
connectionClosed
Report that the established connection was shut down normally.- Parameters:
sessionIdentifier
- identifier of the particular connectionfromOtherEnd
- boolean true if other end initiated the close
-
connectionLost
Report that the established connection was closed abnormally.- Parameters:
sessionIdentifier
- identifier of the particular connectionreason
- object explaining why the connection was lost
-