Class OLiveQueryPushRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OLiveQueryPushRequest
- All Implemented Interfaces:
OBinaryPushRequest
Created by tglman on 17/05/17.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOLiveQueryPushRequest(int monitorId, byte status, List<OLiveQueryResult> events) OLiveQueryPushRequest(int monitorId, int errorIdentifier, OErrorCode errorCode, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ORemotePushHandler remote) intintbytebytevoidread(OChannelDataInput network) voidsetStatus(byte status) voidwrite(OChannelDataOutput channel)
-
Field Details
-
HAS_MORE
public static final byte HAS_MORE- See Also:
-
END
public static final byte END- See Also:
-
ERROR
public static final byte ERROR- See Also:
-
-
Constructor Details
-
OLiveQueryPushRequest
public OLiveQueryPushRequest(int monitorId, int errorIdentifier, OErrorCode errorCode, String errorMessage) -
OLiveQueryPushRequest
-
OLiveQueryPushRequest
public OLiveQueryPushRequest()
-
-
Method Details
-
write
- Specified by:
writein interfaceOBinaryPushRequest- Throws:
IOException
-
read
- Specified by:
readin interfaceOBinaryPushRequest- Throws:
IOException
-
execute
- Specified by:
executein interfaceOBinaryPushRequest
-
createResponse
- Specified by:
createResponsein interfaceOBinaryPushRequest
-
getPushCommand
public byte getPushCommand()- Specified by:
getPushCommandin interfaceOBinaryPushRequest
-
getMonitorId
public int getMonitorId() -
getEvents
-
getStatus
public byte getStatus() -
setStatus
public void setStatus(byte status) -
getErrorIdentifier
public int getErrorIdentifier() -
getErrorMessage
-
getErrorCode
-