Class OCommandResponse
java.lang.Object
com.orientechnologies.orient.client.remote.message.OCommandResponse
- All Implemented Interfaces:
OBinaryResponse
-
Constructor Summary
ConstructorsConstructorDescriptionOCommandResponse(ODatabaseDocumentInternal database, boolean live) OCommandResponse(Object result, boolean isRecordResultSet, ODatabaseDocumentInternal database) -
Method Summary
Modifier and TypeMethodDescriptionvoidread(OChannelDataInput network, ORemoteClientSession session) protected ObjectreadSynchResult(OChannelDataInput network, ODatabaseDocument database, List<ORecord> temporaryResults) voidserializeValue(OChannelDataOutput channel, Object result, boolean load, boolean isRecordResultSet, int protocolVersion, ORecordSerializer recordSerializer) voidwrite(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer)
-
Constructor Details
-
OCommandResponse
public OCommandResponse(Object result, boolean isRecordResultSet, ODatabaseDocumentInternal database) -
OCommandResponse
-
-
Method Details
-
write
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
writein interfaceOBinaryResponse- Throws:
IOException
-
serializeValue
public void serializeValue(OChannelDataOutput channel, Object result, boolean load, boolean isRecordResultSet, int protocolVersion, ORecordSerializer recordSerializer) throws IOException - Throws:
IOException
-
read
- Specified by:
readin interfaceOBinaryResponse- Throws:
IOException
-
readSynchResult
protected Object readSynchResult(OChannelDataInput network, ODatabaseDocument database, List<ORecord> temporaryResults) throws IOException - Throws:
IOException
-
getResult
-