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

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.GroupChange
All Implemented Interfaces:
TextProtocol.WireFormatable
Enclosing class:
Protocol

public class Protocol.GroupChange
extends TextProtocol.RequestMessage


Constructor Summary
Protocol.GroupChange(RepGroupImpl group, String nodeName, GroupChangeEvent.GroupChangeType opType)
           
Protocol.GroupChange(String line, String[] tokens)
           
 
Method Summary
 RepGroupImpl getGroup()
           
 TextProtocol.MessageOp getOp()
           
 GroupChangeEvent.GroupChangeType getOpType()
           
 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, nextPayloadToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol.GroupChange

public Protocol.GroupChange(RepGroupImpl group,
                            String nodeName,
                            GroupChangeEvent.GroupChangeType opType)

Protocol.GroupChange

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

getGroup

public RepGroupImpl getGroup()

getOpType

public GroupChangeEvent.GroupChangeType getOpType()

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-2010 Oracle. All rights reserved.