public class Response extends Object implements Message
The implementation details of this class are subject to change at any time.
Response objects are serialized over the command channel in the following format:
------------ | A | TYPE | ------------A is an 32 bit integer representing the length - in bytes - of TYPE. TYPE is a byte array representing the string of the response type (e.g. "OK").
Modifier and Type | Class and Description |
---|---|
static class |
Response.ResponseType |
Message.MessageType
Constructor and Description |
---|
Response(Response.ResponseType type) |
public Response(Response.ResponseType type)
public Response.ResponseType getType()
Copyright © 2013. All rights reserved.