Modifier and Type | Method and Description |
---|---|
void |
HelloWorldServer.connected(NodeConnection remoteCon) |
void |
HelloWorldServer.disconnected(NodeConnection remoteCon) |
void |
HelloWorldServer.internalException(NodeConnection remoteCon,
java.lang.Exception e) |
void |
HelloWorldServer.newMessageReceived(NodeConnection remoteCon,
Message message) |
void |
HelloWorldServer.newNodeConnection(NodeConnection remoteCon) |
void |
HelloWorldServer.reconnected(NodeConnection remoteCon,
java.net.SocketAddress endPoint,
boolean wasHandover,
boolean wasMandatory) |
void |
HelloWorldServer.unsentMessages(NodeConnection remoteCon,
java.util.List<Message> unsentMessages) |
Modifier and Type | Method and Description |
---|---|
static NodeConnection |
NodeConnectionFactory.getNewNodeConnection(int connectionProtocol)
Returns a new NodeConnection for the specified protocol.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeConnectionListener.connected(NodeConnection remoteCon)
Called when the connection is stabilished.
|
void |
NodeConnectionListener.disconnected(NodeConnection remoteCon)
Called when the connection is lost.
|
void |
NodeConnectionListener.internalException(NodeConnection remoteCon,
java.lang.Exception e)
Called when a internal exception occurs in the RemoteConnection
implementation.
|
void |
NodeConnectionListener.newMessageReceived(NodeConnection remoteCon,
Message message)
Called when the Gateway sends a object.
|
void |
NodeConnectionServerListener.newNodeConnection(NodeConnection remoteCon)
Called when a new connection is made.
|
void |
NodeConnectionListener.reconnected(NodeConnection remoteCon,
java.net.SocketAddress endPoint,
boolean wasHandover,
boolean wasMandatory)
Method called to inform that the connection was broken but made again.
|
void |
NodeConnectionListener.unsentMessages(NodeConnection remoteCon,
java.util.List<Message> unsentMessages)
Called when connection drops and there is unacked sent messages.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedMessageListener.newMessageReceived(NodeConnection remoteCon,
ExtendedMessage message)
Called when the Gateway sends a object.
|
Constructor and Description |
---|
GroupCommunicationManager(NodeConnection nodeConnection)
Default Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
MrUdpNodeConnection
Class that encapsulates the connection between Remote (Mobile) Clients and the SDDL Gateways.
|
Constructor and Description |
---|
PublishSubscribeCommunicationManager(NodeConnection nodeConnection,
GroupCommunicationManager groupCommunicationManager)
Default contructor.
|
Modifier and Type | Method and Description |
---|---|
void |
SddlNetworkListener.newPointOfAttachmentListReceived(NodeConnection remoteCon,
PointsOfAttachment poaList)
Called when the SDDL core sends a new points of attachment list.
|
void |
SddlNetworkListener.pingReceived(NodeConnection remoteCon,
Ping ping)
Called when the RemoteConnection receives a ping.
|
void |
SddlNetworkListener.startingHandover(NodeConnection remoteCon,
java.net.SocketAddress endPoint,
boolean wasMandatory)
Called when the remote connection will handover to a new Gateway.
|
Modifier and Type | Method and Description |
---|---|
void |
Gateway.connected(NodeConnection remoteCon)
Used only on client side
Called when the connection is stabilished.
|
void |
Gateway.disconnected(NodeConnection remoteCon)
Called when the connection is lost.
|
void |
Gateway.internalException(NodeConnection nodeConnection,
java.lang.Exception exception) |
void |
Gateway.newMessageReceived(NodeConnection remoteCon,
ExtendedMessage message) |
void |
Gateway.newMessageReceived(NodeConnection nodeConnection,
Message message)
Called when the Gateway sends a object.
|
void |
Gateway.newNodeConnection(NodeConnection nodeCon)
Called when a new connection is made.
|
void |
Gateway.newPointOfAttachmentListReceived(NodeConnection remoteCon,
PointsOfAttachment poaList)
Called when the SDDL core sends a new points of attachment list.
|
void |
Gateway.pingReceived(NodeConnection remoteCon,
Ping ping)
Called when the RemoteConnection receives a ping.
|
void |
Gateway.reconnected(NodeConnection remoteCon,
java.net.SocketAddress endPoint,
boolean wasHandover,
boolean wasMandatory) |
void |
Gateway.startingHandover(NodeConnection remoteCon,
java.net.SocketAddress endPoint,
boolean wasMandatory)
Called when the remote connection will handover to a new Gateway.
|
void |
Gateway.unsentMessages(NodeConnection remoteCon,
java.util.List<Message> unsentMessages)
Called when connection drops and there is unacked sent messages.
|
Modifier and Type | Method and Description |
---|---|
NodeConnection |
AssociatedNode.getNodeConnection()
Gets the Node´s connection
|
Modifier and Type | Method and Description |
---|---|
void |
AssociatedNode.setNodeConnection(NodeConnection nodeConnection)
Updates the node´s Connection
|
Constructor and Description |
---|
AssociatedNode(long MostSignificantBitsID,
long LeastSignificantBitsID,
NodeConnection nodeConnection)
Constructs a node from its numbers representing the UUID and connection
|
AssociatedNode(java.util.UUID nodeId,
NodeConnection nodeConnection)
Constructs a node from its UUID and connection
|