private void extractFlags(Msg msg)
    {
        //  Test whether IDENTITY flag is valid for this socket type.
        if (msg.isIdentity()) {
            assert (options.recvIdentity);
        }

        //  Remove MORE flag.
        rcvmore = msg.hasMore();
    }
private void extractFlags ( Msg msg ) { if ( msg . isIdentity ( ) ) { assert ( options . recvIdentity ) ; } rcvmore = msg . hasMore ( ) ; }
to be later retrieved by getSocketOpt.