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 |
---|---|
TextChannelInboundHandler |
getReadHandler() |
long |
getRequestId() |
TextCommandConstants.TextCommandType |
getType() |
TextChannelOutboundHandler |
getWriteHandler() |
void |
init(TextChannelInboundHandler textReadHandler,
long requestId) |
boolean |
isUrgent()
Checks if this Frame is urgent.
|
boolean |
shouldReply() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readFrom, writeTo
protected final TextCommandConstants.TextCommandType type
protected AbstractTextCommand(TextCommandConstants.TextCommandType type)
public TextCommandConstants.TextCommandType getType()
getType
in interface TextCommand
public TextChannelInboundHandler getReadHandler()
getReadHandler
in interface TextCommand
public TextChannelOutboundHandler getWriteHandler()
getWriteHandler
in interface TextCommand
public long getRequestId()
getRequestId
in interface TextCommand
public void init(TextChannelInboundHandler textReadHandler, long requestId)
init
in interface TextCommand
public boolean isUrgent()
OutboundFrame
isUrgent
in interface OutboundFrame
public boolean shouldReply()
shouldReply
in interface TextCommand
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.