DataServerMessage function ( ) { DataServerMessage loc0 = new DataServerMessage ( false , RPCMessage . Type . RPC_BLOCK_READ_REQUEST ) ; loc0 . mHeader = ByteBuffer . allocate ( REQUEST_HEADER_LENGTH ) ; return loc0 ; }
creates a default block request message , just allocates the message header , and no attribute is set . the message is not ready to be sent . concode_field_sep ByteBuffer mData concode_elem_sep int REQUEST_HEADER_LENGTH concode_elem_sep int RESPONSE_HEADER_LENGTH concode_elem_sep int ERROR_RESPONSE_HEADER_LENGTH concode_elem_sep long mOffset concode_elem_sep RPCResponse.Status mStatus concode_elem_sep long mLockId concode_elem_sep boolean mToSendData concode_elem_sep long mLength concode_elem_sep long mBlockId concode_elem_sep int HEADER_PREFIX_LENGTH concode_elem_sep long mSessionId concode_elem_sep RPCMessage.Type mMessageType concode_elem_sep boolean mIsMessageReady concode_elem_sep ByteBuffer mHeader concode_elem_sep Logger LOG concode_field_sep void checkReady concode_elem_sep long getOffset concode_elem_sep void setLockId concode_elem_sep RPCResponse.Status getStatus concode_elem_sep DataServerMessage createBlockResponseMessage concode_elem_sep DataServerMessage createBlockResponseMessage concode_elem_sep boolean finishSending concode_elem_sep long getLockId concode_elem_sep int recv concode_elem_sep long getBlockId concode_elem_sep void generateHeader concode_elem_sep ByteBuffer getReadOnlyData concode_elem_sep long getLength concode_elem_sep void isSend concode_elem_sep long getSessionId concode_elem_sep void close concode_elem_sep void send concode_elem_sep boolean isMessageReady