예제 #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)
예제 #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)
예제 #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)
예제 #4
0
 def to_binary(self):
     b = []
     b.append(self.Error.to_binary())
     b.append(uatypes.pack_string(self.Reason))
     return b"".join(b)
예제 #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)
예제 #6
0
 def to_binary(self):
     b = []
     b.append(self.Error.to_binary())
     b.append(uatypes.pack_string(self.Reason))
     return b"".join(b)