|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MsConnectionListener
The class interested in receiving the MsConnectionEvent should
implement this interface. When ever there is change in state of
MsConnection, instance of MsConnectionEvent is fired.
| Method Summary | |
|---|---|
void |
connectionCreated(MsConnectionEvent event)
This method is called when the MsConnectionEventID.CONNECTION_CREATED is fired. |
void |
connectionDisconnected(MsConnectionEvent event)
This method is called when MsConnectionEventID.CONNECTION_DISCONNECTED is fired. |
void |
connectionFailed(MsConnectionEvent event)
This method is called when the MsConnectionEventID.CONNECTION_FAILED is fired. |
void |
connectionHalfOpen(MsConnectionEvent event)
This method is called when MsConnectionEventID.CONNECTION_HALF_OPEN is fired. |
void |
connectionModeRecvOnly(MsConnectionEvent event)
|
void |
connectionModeSendOnly(MsConnectionEvent event)
|
void |
connectionModeSendRecv(MsConnectionEvent event)
|
void |
connectionOpen(MsConnectionEvent event)
This method is called when MsConnectionEventID.CONNECTION_OPEN is fired. |
| Method Detail |
|---|
void connectionCreated(MsConnectionEvent event)
MsConnectionEventID.CONNECTION_CREATED is fired. At this
stage the state of MsConnection is IDLE.
Look at CONNECTION_CREATED of MsConnectionEventID
event - void connectionFailed(MsConnectionEvent event)
MsConnectionEventID.CONNECTION_FAILED is fired. At this
stage the state of MsConnection is FAILEDLook
at CONNECTION_FAILED of MsConnectionEventID
event - void connectionHalfOpen(MsConnectionEvent event)
MsConnectionEventID.CONNECTION_HALF_OPEN is fired. At this
stage the state of MsConnection is HALF_OPENLook
at CONNECTION_HALF_OPEN of MsConnectionEventID
event - void connectionOpen(MsConnectionEvent event)
MsConnectionEventID.CONNECTION_OPEN is fired. At this
stage the state of MsConnection is OPENLook
at CONNECTION_OPEN of MsConnectionEventID
event - void connectionDisconnected(MsConnectionEvent event)
MsConnectionEventID.CONNECTION_DISCONNECTED is fired. At
this stage the state of MsConnection is
CLOSED. Look at CONNECTION_DISCONNECTED of
MsConnectionEventID
event - void connectionModeRecvOnly(MsConnectionEvent event)
void connectionModeSendOnly(MsConnectionEvent event)
void connectionModeSendRecv(MsConnectionEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||