public class MessageID extends Object implements Externalizable, Comparable<MessageID>, Cloneable, Streamable
Constructor and Description |
---|
MessageID() |
MessageID(Address address) |
MessageID(Address address,
long id) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(MessageID other) |
MessageID |
copy() |
boolean |
equals(Object other) |
Address |
getAddress() |
long |
getId() |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
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() |
void |
setID(long id) |
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
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 MessageID(Address address)
public void setID(long id)
public int compareTo(MessageID other)
compareTo
in interface Comparable<MessageID>
public MessageID copy()
public long getId()
public Address getAddress()
public int serializedSize()
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
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.