public InfoSource(GuidPrefix guidPrefix) : base(SubMessageKind.INFO_SRC) { this.protocolVersion = ProtocolVersion.PROTOCOLVERSION_2_1; this.vendorId = VendorId.VENDORID_UNKNOWN; this.guidPrefix = guidPrefix; }
public Receiver(Header header) : this() { sourceGuidPrefix = header.GuidPrefix; sourceVersion = header.Version; throw new KeyNotFoundException("See page 35, unicast and multicast initialization"); }
public Receiver() { sourceVersion = ProtocolVersion.PROTOCOLVERSION; vendorId = VendorId.VENDORID_UNKNOWN; sourceGuidPrefix = GuidPrefix.GUIDPREFIX_UNKNOWN; haveTimestamp = false; timestamp = Time.TIME_INVALID; }
public static void PutGuidPrefix(this IoBuffer buffer, GuidPrefix obj) { buffer.Put(obj.Prefix); }
public static void ReadGuidPrefix(IoBuffer buffer, ref GuidPrefix obj) { buffer.Get(obj.Prefix, 0, GuidPrefix.GUID_PREFIX_SIZE); }
public static GuidPrefix GetGuidPrefix(this IoBuffer buffer) { GuidPrefix obj = new GuidPrefix(); buffer.GetGuidPrefix(ref obj); return obj; }
public static void WriteGuidPrefix(IoBuffer buffer, GuidPrefix obj) { buffer.Put(obj.Prefix); }
public Entity(GuidPrefix guidPrefix, EntityId entityId) { this.guid = new GUID(guidPrefix, entityId); }
public Receiver(GuidPrefix destination) : this() { destGuidPrefix = destination; throw new KeyNotFoundException("See page 35, unicast and multicast initialization"); }
/// <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; }
/// <summary> /// /// </summary> /// <param name="prefix"></param> public Header(GuidPrefix prefix) { guidPrefix = prefix; }
public Header() { guidPrefix = GuidPrefix.GUIDPREFIX_UNKNOWN; }