Class OLockRecordResponse
java.lang.Object
com.orientechnologies.orient.client.remote.message.OLockRecordResponse
- All Implemented Interfaces:
OBinaryResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byteintvoidread(OChannelDataInput network, ORemoteClientSession session) voidwrite(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer)
-
Constructor Details
-
OLockRecordResponse
public OLockRecordResponse() -
OLockRecordResponse
public OLockRecordResponse(byte recordType, int version, byte[] record)
-
-
Method Details
-
write
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
writein interfaceOBinaryResponse- Throws:
IOException
-
read
- Specified by:
readin interfaceOBinaryResponse- Throws:
IOException
-
getRecordType
public byte getRecordType() -
getVersion
public int getVersion() -
getRecord
public byte[] getRecord()
-