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 |
|---|---|
TextDecoder |
getDecoder() |
TextEncoder |
getEncoder() |
int |
getFrameLength()
Returns the frame length.
|
long |
getRequestId() |
TextCommandConstants.TextCommandType |
getType() |
void |
init(TextDecoder decoder,
long requestId) |
boolean |
isUrgent()
Checks if this Frame is urgent.
|
boolean |
shouldReply() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadFrom, writeToprotected final TextCommandConstants.TextCommandType type
protected AbstractTextCommand(TextCommandConstants.TextCommandType type)
public int getFrameLength()
OutboundFramegetFrameLength in interface OutboundFramepublic TextCommandConstants.TextCommandType getType()
getType in interface TextCommandpublic TextDecoder getDecoder()
getDecoder in interface TextCommandpublic TextEncoder getEncoder()
getEncoder in interface TextCommandpublic long getRequestId()
getRequestId in interface TextCommandpublic void init(TextDecoder decoder, long requestId)
init in interface TextCommandpublic boolean isUrgent()
OutboundFrameisUrgent in interface OutboundFramepublic boolean shouldReply()
shouldReply in interface TextCommandCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.