Esempio n. 1
0
 // Constructor
 public TmonSource(TmonContext parentTmonContext, string topicName)
 {
     _objectId          = TmonContext.GetNextObjectId();
     _parentTmonContext = parentTmonContext;
     // Encode topic.
     _topicName = topicName.Replace("\\", "\\1").Replace(",", "\\2");
 } // TmonSource
Esempio n. 2
0
 // Constructor
 public TmonReceiver(TmonContext parentTmonContext, ReceiverType rcvType, string topicName)
 {
     _objectId          = TmonContext.GetNextObjectId();
     _parentTmonContext = parentTmonContext;
     _rcvType           = rcvType;
     // Encode topic.
     _topicName = topicName.Replace("\\", "\\1").Replace(",", "\\2");
 } // TmonReceiver
Esempio n. 3
0
 // Constructor
 public TmonConnection(TmonReceiver parentTmonReceiver, TmonContext parentTmonContext,
                       string sourceName)
 {
     _objectId           = TmonContext.GetNextObjectId();
     _parentTmonReceiver = parentTmonReceiver;
     _parentTmonContext  = parentTmonContext;
     // Encode source string.
     _sourceName = sourceName.Replace("\\", "\\1").Replace(",", "\\2");
 } // TmonConnection