Esempio n. 1
0
 public InfoSource(GuidPrefix guidPrefix)
     : base(SubMessageKind.INFO_SRC)
 {
     this.protocolVersion = ProtocolVersion.PROTOCOLVERSION_2_1;
     this.vendorId = VendorId.VENDORID_UNKNOWN;
     this.guidPrefix = guidPrefix;
 }
Esempio n. 2
0
 public Receiver(Header header)
     : this()
 {
     sourceGuidPrefix = header.GuidPrefix;
     sourceVersion = header.Version;
     throw new KeyNotFoundException("See page 35, unicast and multicast initialization");
 }
Esempio n. 3
0
 public Receiver()
 {
     sourceVersion = ProtocolVersion.PROTOCOLVERSION;
     vendorId = VendorId.VENDORID_UNKNOWN;
     sourceGuidPrefix = GuidPrefix.GUIDPREFIX_UNKNOWN;
     haveTimestamp = false;
     timestamp = Time.TIME_INVALID;
 }
Esempio n. 4
0
 public static void PutGuidPrefix(this IoBuffer buffer, GuidPrefix obj)
 {
     buffer.Put(obj.Prefix);
 }
Esempio n. 5
0
 public static void ReadGuidPrefix(IoBuffer buffer, ref GuidPrefix obj)
 {
     buffer.Get(obj.Prefix, 0, GuidPrefix.GUID_PREFIX_SIZE);
 }
Esempio n. 6
0
 public static GuidPrefix GetGuidPrefix(this IoBuffer buffer)
 {
     GuidPrefix obj = new GuidPrefix();
     buffer.GetGuidPrefix(ref obj);
     return obj;
 }
Esempio n. 7
0
 public static void WriteGuidPrefix(IoBuffer buffer, GuidPrefix obj)
 {
     buffer.Put(obj.Prefix);
 }
Esempio n. 8
0
 public Entity(GuidPrefix guidPrefix, EntityId entityId)
 {
     this.guid = new GUID(guidPrefix, entityId);
 }
Esempio n. 9
0
 public Receiver(GuidPrefix destination)
     : this()
 {
     destGuidPrefix = destination;
     throw new KeyNotFoundException("See page 35, unicast and multicast initialization");
 }
Esempio n. 10
0
 /// <summary>
 /// This constructor is used when the intention is to send data into network.
 /// </summary>
 /// <param name="guidPrefix"></param>
 public InfoDestination(GuidPrefix guidPrefix)
     : base(SubMessageKind.INFO_DST)
 {
     this.guidPrefix = guidPrefix;
 }
Esempio n. 11
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="prefix"></param>
 public Header(GuidPrefix prefix)
 {
     guidPrefix = prefix;
 }
Esempio n. 12
0
 public Header()
 {
     guidPrefix = GuidPrefix.GUIDPREFIX_UNKNOWN;
 }