public class Message extends Object implements Externalizable
ExceptionHolder
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
Object |
getContents() |
Serializable |
getMessageKey() |
void |
readExternal(ObjectInput in) |
void |
setContents(Object contents) |
void |
setMessageKey(Serializable messageKey) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final long serialVersionUID
public void setContents(Object contents)
public Object getContents()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public Serializable getMessageKey()
public void setMessageKey(Serializable messageKey)
Copyright © 2019. All rights reserved.