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 java.lang.String |
VERSION |
envImpl, FAIL_RESP, formatter, logger, messageNocheckSuffix, OK_RESP, PROTOCOL_ERROR, SEPARATOR, SEPARATOR_REGEXP
Constructor and Description |
---|
Protocol(java.lang.String groupName,
NameIdPair nameIdPair,
RepImpl repImpl) |
getMajorVersionNumber, getNameIdPair, getOpenTimeout, getReadTimeout, getRequestMessage, initializeMessageOps, messageCount, parse, parseRequest, process, setTimeouts, updateNodeIds
public static final java.lang.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(java.lang.String groupName, NameIdPair nameIdPair, RepImpl repImpl)
Copyright (c) 2004-2012 Oracle. All rights reserved.