com.sleepycat.je.rep.monitor
Class Protocol.LeaveGroup

java.lang.Object
  extended by com.sleepycat.je.rep.impl.TextProtocol.Message
      extended by com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
          extended by com.sleepycat.je.rep.monitor.Protocol.LeaveGroup
All Implemented Interfaces:
TextProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.LeaveGroup
extends TextProtocol.RequestMessage


Field Summary
 
Fields inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
messagePrefixNocheck, sendVersion
 
Constructor Summary
Protocol.LeaveGroup(String line, String[] tokens)
           
Protocol.LeaveGroup(String nodeName, String masterName, LeaveGroupEvent.LeaveReason leaveReason, long joinTime, long leaveTime)
           
 
Method Summary
 LeaveGroupEvent.LeaveReason getLeaveReason()
           
 long getLeaveTime()
           
 TextProtocol.MessageOp getOp()
           
 String wireFormat()
           
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
equals, hashCode, wireFormatPrefix
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
getCurrentTokenPosition, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol.LeaveGroup

public Protocol.LeaveGroup(String nodeName,
                           String masterName,
                           LeaveGroupEvent.LeaveReason leaveReason,
                           long joinTime,
                           long leaveTime)

Protocol.LeaveGroup

public Protocol.LeaveGroup(String line,
                           String[] tokens)
                    throws TextProtocol.InvalidMessageException
Throws:
TextProtocol.InvalidMessageException
Method Detail

getLeaveReason

public LeaveGroupEvent.LeaveReason getLeaveReason()

getLeaveTime

public long getLeaveTime()

getOp

public TextProtocol.MessageOp getOp()
Specified by:
getOp in class TextProtocol.Message

wireFormat

public String wireFormat()
Specified by:
wireFormat in interface TextProtocol.WireFormatable


Copyright (c) 2004-2012 Oracle. All rights reserved.