| 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.addAssociation(java.lang.String hostAddress,
int hostPort,
java.lang.String peerAddress,
int peerPort,
java.lang.String assocName,
IpChannelType ipChannelType,
java.lang.String[] extraHostAddresses)
Add Association
|
Association |
Management.addServerAssociation(java.lang.String peerAddress,
int peerPort,
java.lang.String serverName,
java.lang.String assocName)
Add server Association.
|
Association |
Management.addServerAssociation(java.lang.String peerAddress,
int peerPort,
java.lang.String serverName,
java.lang.String assocName,
IpChannelType ipChannelType)
Add server Association.
|
Association |
Management.getAssociation(java.lang.String assocName)
Get existing Association for passed name
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Association> |
Server.getAnonymAssociations()
Returns an unmodifiable list of anonymous associations that are connected at the moment
|
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 |
ManagementEventListener.onAssociationAdded(Association association) |
void |
ManagementEventListener.onAssociationDown(Association association) |
void |
ManagementEventListener.onAssociationRemoved(Association association) |
void |
ManagementEventListener.onAssociationStarted(Association association) |
void |
ManagementEventListener.onAssociationStopped(Association association) |
void |
ManagementEventListener.onAssociationUp(Association association) |
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,
int maxInboundStreams,
int maxOutboundStreams)
Invoked when underlying socket is open and connection is established with
peer.
|
void |
ServerListener.onNewRemoteConnection(Server server,
Association association) |
void |
AssociationListener.onPayload(Association association,
PayloadData payloadData)
Invoked when the
PayloadData is received from peer |
Copyright © 2012. All Rights Reserved.