public class OLiveQueryPushRequest extends Object implements OBinaryPushRequest
Modifier and Type | Field and Description |
---|---|
static byte |
END |
static byte |
ERROR |
static byte |
HAS_MORE |
Constructor and Description |
---|
OLiveQueryPushRequest() |
OLiveQueryPushRequest(int monitorId,
byte status,
List<OLiveQueryResult> events) |
OLiveQueryPushRequest(int monitorId,
int errorIdentifier,
OErrorCode errorCode,
String errorMessage) |
Modifier and Type | Method and Description |
---|---|
OBinaryPushResponse |
createResponse() |
OBinaryPushResponse |
execute(ORemotePushHandler remote) |
OErrorCode |
getErrorCode() |
int |
getErrorIdentifier() |
String |
getErrorMessage() |
List<OLiveQueryResult> |
getEvents() |
int |
getMonitorId() |
byte |
getPushCommand() |
byte |
getStatus() |
void |
read(OChannelDataInput network) |
void |
setStatus(byte status) |
void |
write(OChannelDataOutput channel) |
public static final byte HAS_MORE
public static final byte END
public static final byte ERROR
public OLiveQueryPushRequest(int monitorId, int errorIdentifier, OErrorCode errorCode, String errorMessage)
public OLiveQueryPushRequest(int monitorId, byte status, List<OLiveQueryResult> events)
public OLiveQueryPushRequest()
public void write(OChannelDataOutput channel) throws IOException
write
in interface OBinaryPushRequest
IOException
public void read(OChannelDataInput network) throws IOException
read
in interface OBinaryPushRequest
IOException
public OBinaryPushResponse execute(ORemotePushHandler remote)
execute
in interface OBinaryPushRequest
public OBinaryPushResponse createResponse()
createResponse
in interface OBinaryPushRequest
public byte getPushCommand()
getPushCommand
in interface OBinaryPushRequest
public int getMonitorId()
public List<OLiveQueryResult> getEvents()
public byte getStatus()
public void setStatus(byte status)
public int getErrorIdentifier()
public String getErrorMessage()
public OErrorCode getErrorCode()
Copyright © 2009–2020 OrientDB. All rights reserved.