public abstract class AbstractTextCommand extends Object implements TextCommand
| Modifier and Type | Field and Description |
|---|---|
protected TextCommandConstants.TextCommandType |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTextCommand(TextCommandConstants.TextCommandType type) |
| Modifier and Type | Method and Description |
|---|---|
long |
getRequestId() |
SocketTextReader |
getSocketTextReader() |
SocketTextWriter |
getSocketTextWriter() |
TextCommandConstants.TextCommandType |
getType() |
void |
init(SocketTextReader socketTextReader,
long requestId) |
boolean |
isUrgent()
Checks if this SocketWritable is urgent.
|
boolean |
shouldReply() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwriteToreadFromprotected final TextCommandConstants.TextCommandType type
protected AbstractTextCommand(TextCommandConstants.TextCommandType type)
public TextCommandConstants.TextCommandType getType()
getType in interface TextCommandpublic SocketTextReader getSocketTextReader()
getSocketTextReader in interface TextCommandpublic SocketTextWriter getSocketTextWriter()
getSocketTextWriter in interface TextCommandpublic long getRequestId()
getRequestId in interface TextCommandpublic void init(SocketTextReader socketTextReader, long requestId)
init in interface TextCommandpublic boolean isUrgent()
SocketWritableisUrgent in interface SocketWritablepublic boolean shouldReply()
shouldReply in interface TextCommandCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.