|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectionListener
An object that registers to be notified of events generated by a
IConnection object.
The ConnectionListener interface is implemented by a
PCB component.
| Method Summary | |
|---|---|
void |
connectionClosed(java.lang.String connKey,
java.util.List notSended)
Notifies that connection is closed |
void |
connectionOpened(java.lang.String connKey)
Notifies that connection is created |
void |
internalError(java.lang.String connKey,
IMessage message,
TransportException cause)
Notifies that connection is generated excpetion |
void |
messageReceived(java.lang.String connKey,
IMessage message)
Notifies that connection is received incoming message |
| Method Detail |
|---|
void connectionOpened(java.lang.String connKey)
connKey - identifier of created connection
void connectionClosed(java.lang.String connKey,
java.util.List notSended)
connKey - identifier of closed connectionnotSended - array of not sended messages
void messageReceived(java.lang.String connKey,
IMessage message)
connKey - identifier of connectionmessage - received incoming message
void internalError(java.lang.String connKey,
IMessage message,
TransportException cause)
connKey - identifier of connectionmessage - the message from that failedcause - generated exceptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||