/// populate a GUID container with a unique ID. This will increment /// the counter, and use a lock while doing so. public void Populate(ref GUID container) { byte[] guidPrefix = container.Prefix.Prefix; // new byte[GuidPrefix.GUID_PREFIX_SIZE]; Array.Copy(nodeId, 0, guidPrefix, 0, nodeId.Length); int count = GetCount(); guidPrefix[10] = (byte)(count >> 8); guidPrefix[11] = (byte)(count & 0xFF); }
public Spdp(int domain, GUID id, DomainParticipantQos qos, DiscoveryImpl disco) { }
public GUID GenerateGuid() { GUID container = new GUID(); Populate(ref container); return container; }
public Entity(GUID guid) { this.guid = guid; }
public Entity(GuidPrefix guidPrefix, EntityId entityId) { this.guid = new GUID(guidPrefix, entityId); }
/// <summary> /// Maps that stores discovered participants. discovered participant is /// shared with all entities created by this participant. /// </summary> //private readonly Dictionary<GuidPrefix, Participant> discoveredParticipants; public Participant(GUID guid) : base(guid) { }
public Endpoint(GUID guid) : base(guid) { }