cgl.narada.transport
Class BrokerConnections
java.lang.Object
cgl.narada.transport.BrokerConnections
public class BrokerConnections
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrokerConnections
public BrokerConnections(TransportHandler transportHandler)
mapLinkToBrokerNode
public void mapLinkToBrokerNode(String linkId,
Object naradaBrokeringId,
Object brokerConnectionIdentifier)
throws TransportException
- Throws:
TransportException
sendData
public void sendData(byte[] data,
Object naradaBrokeringId)
throws TransportException
- Throws:
TransportException
processLossOfConnection
public Object processLossOfConnection(String linkId)
throws TransportException
- Process the loss of connection to a linkId. Return
- Parameters:
linkId -
- Returns:
- Object the connection identifier associated with the link in
question.
- Throws:
TransportException
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project