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