cgl.narada.transport
Class BrokerConnections

java.lang.Object
  extended by cgl.narada.transport.BrokerConnections

public class BrokerConnections
extends Object


Constructor Summary
BrokerConnections(TransportHandler transportHandler)
           
 
Method Summary
static void main(String[] args)
           
 void mapLinkToBrokerNode(String linkId, Object naradaBrokeringId, Object brokerConnectionIdentifier)
           
 Object processLossOfConnection(String linkId)
          Process the loss of connection to a linkId.
 void sendData(byte[] data, Object naradaBrokeringId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerConnections

public BrokerConnections(TransportHandler transportHandler)
Method Detail

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