| Modifier and Type | Method and Description |
|---|---|
Association |
Management.addAssociation(String hostAddress,
int hostPort,
String peerAddress,
int peerPort,
String assocName)
Add Association.
|
Association |
Management.addAssociation(String hostAddress,
int hostPort,
String peerAddress,
int peerPort,
String assocName,
IpChannelType ipChannelType,
String[] extraHostAddresses)
Add Association
|
Association |
Management.addServerAssociation(String peerAddress,
int peerPort,
String serverName,
String assocName)
Add server Association.
|
Association |
Management.addServerAssociation(String peerAddress,
int peerPort,
String serverName,
String assocName,
IpChannelType ipChannelType)
Add server Association.
|
Association |
Management.getAssociation(String assocName)
Get existing Association for passed name
|
| Modifier and Type | Method and Description |
|---|---|
List<Association> |
Server.getAnonymAssociations()
Returns an unmodifiable list of anonymous associations that are connected at the moment
|
Map<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 © 2017. All Rights Reserved.