public class MessageID extends Object implements Comparable<MessageID>, Cloneable, SizeStreamable
Constructor and Description |
---|
MessageID() |
MessageID(Address address,
long id) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(MessageID other) |
boolean |
equals(Object o) |
Address |
getAddress() |
int |
hashCode() |
void |
readFrom(DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
serializedSize()
Returns the size (in bytes) of the marshalled object
|
String |
toString() |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public MessageID()
public MessageID(Address address, long id)
public int compareTo(MessageID other)
compareTo
in interface Comparable<MessageID>
public Address getAddress()
public int serializedSize()
SizeStreamable
serializedSize
in interface SizeStreamable
public void writeTo(DataOutput out) throws Exception
Streamable
writeTo
in interface Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
readFrom
in interface Streamable
Exception
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.