Class OCommandResponse
java.lang.Object
com.orientechnologies.orient.client.remote.message.OCommandResponse
- All Implemented Interfaces:
OBinaryResponse
-
Constructor Summary
ConstructorsConstructorDescriptionOCommandResponse(boolean asynch, OCommandResultListener listener, ODatabaseDocumentInternal database, boolean live) OCommandResponse(Object result, SimpleValueFetchPlanCommandListener listener, boolean isRecordResultSet, boolean async, ODatabaseDocumentInternal database, OCommandRequestText command, Map<Object, Object> params) -
Method Summary
Modifier and TypeMethodDescriptionvoidread(OChannelDataInput network, OStorageRemoteSession session) protected ObjectreadSynchResult(OChannelDataInput network, ODatabaseDocument database, List<ORecord> temporaryResults) voidserializeValue(OChannelDataOutput channel, SimpleValueFetchPlanCommandListener listener, Object result, boolean load, boolean isRecordResultSet, int protocolVersion, ORecordSerializer recordSerializer) voidwrite(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer)
-
Constructor Details
-
OCommandResponse
public OCommandResponse(Object result, SimpleValueFetchPlanCommandListener listener, boolean isRecordResultSet, boolean async, ODatabaseDocumentInternal database, OCommandRequestText command, Map<Object, Object> params) -
OCommandResponse
public OCommandResponse(boolean asynch, OCommandResultListener listener, ODatabaseDocumentInternal database, boolean live)
-
-
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, SimpleValueFetchPlanCommandListener listener, 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
-