public class Protocol extends TextProtocol
| Modifier and Type | Class and Description |
|---|---|
class |
Protocol.GroupChange |
class |
Protocol.JoinGroup |
class |
Protocol.LeaveGroup |
TextProtocol.Fail, TextProtocol.InvalidMessageException, TextProtocol.Message, TextProtocol.MessageError, TextProtocol.MessageExchange, TextProtocol.MessageOp, TextProtocol.OK, TextProtocol.ProtocolError, TextProtocol.RequestMessage, TextProtocol.ResponseMessage, TextProtocol.StringFormatable, TextProtocol.TOKENS, TextProtocol.WireFormatable| Modifier and Type | Field and Description |
|---|---|
TextProtocol.MessageOp |
GROUP_CHANGE_REQ |
TextProtocol.MessageOp |
JOIN_GROUP_REQ |
TextProtocol.MessageOp |
LEAVE_GROUP_REQ |
static String |
VERSION
The latest protocol version.
|
channelFactory, FAIL_RESP, formatter, logger, messageNocheckSuffix, OK_RESP, PROTOCOL_ERROR, repImpl, SEPARATOR, SEPARATOR_REGEXP| Constructor and Description |
|---|
Protocol(String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory)
Creates an instance of this class using the current protocol version.
|
getMajorVersionNumber, getNameIdPair, getOpenTimeout, getOps, getReadTimeout, getRequestMessage, initializeMessageOps, messageCount, parse, parseRequest, process, processIME, replaceOp, setSerDeHook, setTimeouts, updateNodeIdspublic static final String VERSION
public final TextProtocol.MessageOp GROUP_CHANGE_REQ
public final TextProtocol.MessageOp JOIN_GROUP_REQ
public final TextProtocol.MessageOp LEAVE_GROUP_REQ
public Protocol(String groupName, NameIdPair nameIdPair, RepImpl repImpl, DataChannelFactory channelFactory)
Copyright © 2024. All rights reserved.