| Modifier and Type | Method and Description |
|---|---|
Association |
Management.addAssociation(java.lang.String hostAddress,
int hostPort,
java.lang.String peerAddress,
int peerPort,
java.lang.String assocName)
Add Association
|
Association |
Management.addServerAssociation(java.lang.String peerAddress,
int peerPort,
java.lang.String serverName,
java.lang.String assocName)
Add server Association.
|
Association |
Management.getAssociation(java.lang.String assocName)
Get existing Association for passed name
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Association> |
Management.getAssociations()
Get configured Association map with name as key and Association instance
as value
|
| Modifier and Type | Method and Description |
|---|---|
void |
AssociationListener.onCommunicationLost(Association association)
Invoked when underlying socket lost the connection with peer due to any
reason like network between peer's died etc.
|
void |
AssociationListener.onCommunicationRestart(Association association)
Invoked when the connection with the peer re-started.
|
void |
AssociationListener.onCommunicationShutdown(Association association)
Invoked when underlying socket is shutdown and connection is ended with
peer.
|
void |
AssociationListener.onCommunicationUp(Association association)
Invoked when underlying socket is open and connection is established with
peer.
|
void |
AssociationListener.onPayload(Association association,
PayloadData payloadData)
Invoked when the
PayloadData is received from peer |
Copyright © 2012. All Rights Reserved.