Esempio n. 1
0
 def to_binary(self):
     b = []
     b.append(uatype_UInt32.pack(self.ProtocolVersion))
     b.append(uatype_UInt32.pack(self.ReceiveBufferSize))
     b.append(uatype_UInt32.pack(self.SendBufferSize))
     b.append(uatype_UInt32.pack(self.MaxMessageSize))
     b.append(uatype_UInt32.pack(self.MaxChunkCount))
     b.append(uatypes.pack_string(self.EndpointUrl))
     return b"".join(b)
Esempio n. 2
0
 def to_binary(self):
     b = []
     b.append(uatype_UInt32.pack(self.ProtocolVersion))
     b.append(uatype_UInt32.pack(self.ReceiveBufferSize))
     b.append(uatype_UInt32.pack(self.SendBufferSize))
     b.append(uatype_UInt32.pack(self.MaxMessageSize))
     b.append(uatype_UInt32.pack(self.MaxChunkCount))
     b.append(uatypes.pack_string(self.EndpointUrl))
     return b"".join(b)
Esempio n. 3
0
 def to_binary(self):
     b = []
     b.append(uatypes.pack_string(self.SecurityPolicyURI))
     b.append(uatypes.pack_string(self.SenderCertificate))
     b.append(uatypes.pack_string(self.ReceiverCertificateThumbPrint))
     return b"".join(b)
Esempio n. 4
0
 def to_binary(self):
     b = []
     b.append(self.Error.to_binary())
     b.append(uatypes.pack_string(self.Reason))
     return b"".join(b)
Esempio n. 5
0
 def to_binary(self):
     b = []
     b.append(uatypes.pack_string(self.SecurityPolicyURI))
     b.append(uatypes.pack_string(self.SenderCertificate))
     b.append(uatypes.pack_string(self.ReceiverCertificateThumbPrint))
     return b"".join(b)
Esempio n. 6
0
 def to_binary(self):
     b = []
     b.append(self.Error.to_binary())
     b.append(uatypes.pack_string(self.Reason))
     return b"".join(b)