(self, destination, rpid, pid, data, serializer)
[MS-PSRP] 2.2.1 PowerShell Remoting Protocol Message
        https://msdn.microsoft.com/en-us/library/dd303832.aspx

        Used to contain a PSRP message in the structure required by PSRP.

        :param destination: The Destination of the message
        :param rpid: The uuid representation of the RunspacePool
        :param pid: The uuid representation of the PowerShell pipeline
        :param data: The PSRP Message object
        :param serializer: The serializer object used to serialize the message
            when packing
[MS-PSRP] 2.2.1 PowerShell Remoting Protocol Message
        https://msdn.microsoft.com/en-us/library/dd303832.aspx
[ MS - PSRP ] 2 . 2 . 1 PowerShell Remoting Protocol Message https : // msdn . microsoft . com / en - us / library / dd303832 . aspx
def __init__(self, destination, rpid, pid, data, serializer):
        """
        [MS-PSRP] 2.2.1 PowerShell Remoting Protocol Message
        https://msdn.microsoft.com/en-us/library/dd303832.aspx

        Used to contain a PSRP message in the structure required by PSRP.

        :param destination: The Destination of the message
        :param rpid: The uuid representation of the RunspacePool
        :param pid: The uuid representation of the PowerShell pipeline
        :param data: The PSRP Message object
        :param serializer: The serializer object used to serialize the message
            when packing
        """
        self.destination = destination
        self.message_type = data.MESSAGE_TYPE

        empty_uuid = uuid.UUID(bytes=b"\x00" * 16)
        self.rpid = uuid.UUID(rpid) if rpid is not None else empty_uuid
        self.pid = uuid.UUID(pid) if pid is not None else empty_uuid
        self.data = data
        self._serializer = serializer
def __init__ ( self , destination , rpid , pid , data , serializer ) : self . destination = destination self . message_type = data . MESSAGE_TYPE empty_uuid = uuid . UUID ( bytes = b"\x00" * 16 ) self . rpid = uuid . UUID ( rpid ) if rpid is not None else empty_uuid self . pid = uuid . UUID ( pid ) if pid is not None else empty_uuid self . data = data self . _serializer = serializer