rice.pastry.socket.messaging
Class WrongEpochMessage
java.lang.Object
rice.pastry.messaging.Message
rice.pastry.messaging.PRawMessage
rice.pastry.socket.messaging.SocketMessage
rice.pastry.socket.messaging.DatagramMessage
rice.pastry.socket.messaging.WrongEpochMessage
- All Implemented Interfaces:
- java.io.Serializable, Message, RawMessage
public class WrongEpochMessage
- extends DatagramMessage
Class which represents a "ping" message sent through the
socket pastry system.
- Version:
- $Id: WrongEpochMessage.java 3524 2007-01-09 14:09:27Z jeffh $
- Author:
- Alan Mislove
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
incorrect
protected EpochInetSocketAddress incorrect
correct
protected EpochInetSocketAddress correct
WrongEpochMessage
public WrongEpochMessage(EpochInetSocketAddress incorrect,
EpochInetSocketAddress correct,
long start)
- Constructor
WrongEpochMessage
public WrongEpochMessage(InputBuffer buf)
throws java.io.IOException
- Throws:
java.io.IOException
getIncorrect
public EpochInetSocketAddress getIncorrect()
getCorrect
public EpochInetSocketAddress getCorrect()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public short getType()
serialize
public void serialize(OutputBuffer buf)
throws java.io.IOException
- Specified by:
serialize
in interface RawMessage
- Overrides:
serialize
in class DatagramMessage
- Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.