示例#1
0
 public RequestKeyRequest(ObjectId requestingDeviceIdentifier, NetworkAddress requestingDeviceAddress, ObjectId remoteDeviceIdentifier, NetworkAddress remoteDeviceAddress)
 {
     this.RequestingDeviceIdentifier = requestingDeviceIdentifier;
     this.RequestingDeviceAddress = requestingDeviceAddress;
     this.RemoteDeviceIdentifier = remoteDeviceIdentifier;
     this.RemoteDeviceAddress = remoteDeviceAddress;
 }
示例#2
0
 public static void Save(IValueSink sink, NetworkAddress value)
 {
     sink.EnterSequence();
     Value<ushort>.Save(sink, value.NetworkNumber);
     Value<byte[]>.Save(sink, value.MacAddress);
     sink.LeaveSequence();
 }
示例#3
0
 public VTSession(byte localVtSessionID, byte remoteVtSessionID, NetworkAddress remoteVtAddress)
 {
     this.LocalVtSessionID = localVtSessionID;
     this.RemoteVtSessionID = remoteVtSessionID;
     this.RemoteVtAddress = remoteVtAddress;
 }
示例#4
0
 public AddressBinding(ObjectId deviceObjectIdentifier, NetworkAddress deviceAddress)
 {
     this.DeviceObjectIdentifier = deviceObjectIdentifier;
     this.DeviceAddress          = deviceAddress;
 }
示例#5
0
 public static Recipient NewAddress(NetworkAddress address)
 {
     return new AddressWrapper(address);
 }
示例#6
0
 public AddressWrapper(NetworkAddress item)
 {
     this.Item = item;
 }
示例#7
0
 public SessionKey(byte[] key, NetworkAddress peerAddress)
 {
     this.Key = key;
     this.PeerAddress = peerAddress;
 }
示例#8
0
 public AddressBinding(ObjectId deviceObjectIdentifier, NetworkAddress deviceAddress)
 {
     this.DeviceObjectIdentifier = deviceObjectIdentifier;
     this.DeviceAddress = deviceAddress;
 }
示例#9
0
 public RequestKeyRequest(ObjectId requestingDeviceIdentifier, NetworkAddress requestingDeviceAddress, ObjectId remoteDeviceIdentifier, NetworkAddress remoteDeviceAddress)
 {
     this.RequestingDeviceIdentifier = requestingDeviceIdentifier;
     this.RequestingDeviceAddress    = requestingDeviceAddress;
     this.RemoteDeviceIdentifier     = remoteDeviceIdentifier;
     this.RemoteDeviceAddress        = remoteDeviceAddress;
 }
示例#10
0
 public SessionKey(byte[] key, NetworkAddress peerAddress)
 {
     this.Key         = key;
     this.PeerAddress = peerAddress;
 }
示例#11
0
 public static Recipient NewAddress(NetworkAddress address)
 {
     return(new AddressWrapper(address));
 }
示例#12
0
 public AddressWrapper(NetworkAddress item)
 {
     this.Item = item;
 }
示例#13
0
 public VTSession(byte localVtSessionID, byte remoteVtSessionID, NetworkAddress remoteVtAddress)
 {
     this.LocalVtSessionID  = localVtSessionID;
     this.RemoteVtSessionID = remoteVtSessionID;
     this.RemoteVtAddress   = remoteVtAddress;
 }