cgl.narada.transport.rtp
Class RTPLinkManager

java.lang.Object
  extended by cgl.narada.transport.rtp.RTPLinkManager
All Implemented Interfaces:
RTPLinkChannelStrings, MessageListener

public class RTPLinkManager
extends Object
implements MessageListener, RTPLinkChannelStrings


Field Summary
static String baseTopicName
           
 
Fields inherited from interface cgl.narada.transport.rtp.RTPLinkChannelStrings
ACTION, BASE_TOPIC, BROKER_IP, CLEAR_RTP_LINK_MANAGER, DELETE_RTP_LINK, FAIL, IP, LINKID, LOCAL_PORT, OK, PORT, PUBLICATION_TOPIC, REASON, REMOTE_PORT, REQUESTED_ACTION, RESPONSE, RESPONSE_TOPIC, SESSION_ID, SIZE, START_MULTICAST_RTP_LINK, START_RTP_LINK, STATUS, SUBSCRIBE, SUBSCRIPTION_TOPIC, TOPIC, TOPIC_RANGE, UNSUBSCRIBE
 
Constructor Summary
RTPLinkManager(RTPLinkFactory linkFactory)
           
 
Method Summary
 String assembleMessage(Message message, Class interfaceName)
          assemble the given message to be logged.
 void initializeConnection()
           
 void onMessage(Message message)
           
static void setBrokerNiotcpPort(int niotcpPort)
          set the broker niotcp port number to connect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseTopicName

public static final String baseTopicName
See Also:
Constant Field Values
Constructor Detail

RTPLinkManager

public RTPLinkManager(RTPLinkFactory linkFactory)
               throws Exception
Throws:
Exception
Method Detail

initializeConnection

public void initializeConnection()
                          throws Exception
Throws:
Exception

setBrokerNiotcpPort

public static void setBrokerNiotcpPort(int niotcpPort)
set the broker niotcp port number to connect


onMessage

public void onMessage(Message message)
Specified by:
onMessage in interface MessageListener

assembleMessage

public String assembleMessage(Message message,
                              Class interfaceName)
assemble the given message to be logged. This given message should be a message which has many property/value pairs. These property/value pairs are separated by ": " and each put in a line it checks all the fields in given interfaceName and assembles the set ones.



For comments and suggestions please send e-mail to The NaradaBrokering Project