org.apache.catalina.tribes.group.interceptors

Class NonBlockingCoordinator.CoordinationMessage

public static class NonBlockingCoordinator.CoordinationMessage extends Object

Field Summary
protected XByteBufferbuf
protected UniqueIdid
protected MemberImplleader
protected MemberImplsource
protected longtimestamp
protected byte[]type
protected MemberImpl[]view
Constructor Summary
CoordinationMessage(XByteBuffer buf)
CoordinationMessage(MemberImpl leader, MemberImpl source, MemberImpl[] view, UniqueId id, byte[] type)
Method Summary
XByteBuffergetBuffer()
byte[]getHeader()
UniqueIdgetId()
MemberImplgetLeader()
MemberImpl[]getMembers()
MemberImplgetSource()
byte[]getType()
voidparse()
voidwrite()

Field Detail

buf

protected XByteBuffer buf

id

protected UniqueId id

leader

protected MemberImpl leader

source

protected MemberImpl source

timestamp

protected long timestamp

type

protected byte[] type

view

protected MemberImpl[] view

Constructor Detail

CoordinationMessage

public CoordinationMessage(XByteBuffer buf)

CoordinationMessage

public CoordinationMessage(MemberImpl leader, MemberImpl source, MemberImpl[] view, UniqueId id, byte[] type)

Method Detail

getBuffer

public XByteBuffer getBuffer()

getHeader

public byte[] getHeader()

getId

public UniqueId getId()

getLeader

public MemberImpl getLeader()

getMembers

public MemberImpl[] getMembers()

getSource

public MemberImpl getSource()

getType

public byte[] getType()

parse

public void parse()

write

public void write()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.