def recvClientSynchronizePDU(self, s):
        """
        @summary: Receive from client 
        Wait Control Cooperate PDU
        @param s: Stream from transport layer
        """
        pdu = data.PDU()
        s.readType(pdu)
        if pdu.shareControlHeader.pduType.value != data.PDUType.PDUTYPE_DATAPDU or pdu.pduMessage.shareDataHeader.pduType2.value != data.PDUType2.PDUTYPE2_SYNCHRONIZE:
            #not a blocking error because in deactive reactive sequence 
            #input can be send too but ignored
            log.debug("Ignore message type %s during connection sequence"%hex(pdu.shareControlHeader.pduType.value))
            return
        self.setNextState(self.recvClientControlCooperatePDU)
def recvClientSynchronizePDU ( self , s ) : pdu = data . PDU ( ) s . readType ( pdu ) if pdu . shareControlHeader . pduType . value != data . PDUType . PDUTYPE_DATAPDU or pdu . pduMessage . shareDataHeader . pduType2 . value != data . PDUType2 . PDUTYPE2_SYNCHRONIZE : log . debug ( "Ignore message type %s during connection sequence" % hex ( pdu . shareControlHeader . pduType . value ) ) return self . setNextState ( self . recvClientControlCooperatePDU )
@summary: Receive from client 
        Wait Control Cooperate PDU
        @param s: Stream from transport layer