Class ClientObjectNotification
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.ClientListenerResponse
-
- org.apache.ignite.internal.processors.platform.client.ClientNotification
-
- org.apache.ignite.internal.processors.platform.client.ClientObjectNotification
-
- All Implemented Interfaces:
ClientOutgoingMessage
public class ClientObjectNotification extends ClientNotification
Notification with object payload.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.odbc.ClientListenerResponse
STATUS_FAILED, STATUS_SUCCESS
-
-
Constructor Summary
Constructors Constructor Description ClientObjectNotification(short opCode, long rsrcId, Object val)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(ClientConnectionContext ctx, BinaryRawWriterEx writer)Encodes the notification data.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientNotification
resourceId
-
-
-
-
Constructor Detail
-
ClientObjectNotification
public ClientObjectNotification(short opCode, long rsrcId, Object val)Constructor.- Parameters:
rsrcId- Resource id.val- Object to send to client.
-
-
Method Detail
-
encode
public void encode(ClientConnectionContext ctx, BinaryRawWriterEx writer)
Encodes the notification data.- Specified by:
encodein interfaceClientOutgoingMessage- Overrides:
encodein classClientNotification- Parameters:
ctx- Connection context.writer- Writer.
-
-