com.caucho.server.distlock
Class VoteMessage

java.lang.Object
  extended by com.caucho.server.distlock.VoteMessage
All Implemented Interfaces:
java.io.Serializable

public class VoteMessage
extends java.lang.Object
implements java.io.Serializable

Vote

See Also:
Serialized Form

Constructor Summary
VoteMessage()
           
VoteMessage(java.lang.String name, int self, int primary, int secondary)
           
 
Method Summary
 java.lang.String getName()
           
 int getPrimary()
           
 int getSecondary()
           
 int getSelf()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoteMessage

public VoteMessage()

VoteMessage

public VoteMessage(java.lang.String name,
                   int self,
                   int primary,
                   int secondary)
Method Detail

getName

public java.lang.String getName()

getSelf

public int getSelf()

getPrimary

public int getPrimary()

getSecondary

public int getSecondary()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object