public static class AbstractRPCService.MessageBody extends Object implements Externalizable
| Constructor and Description |
|---|
AbstractRPCService.MessageBody() |
AbstractRPCService.MessageBody(org.jgroups.Address dest,
String commandId,
Serializable[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.jgroups.Address address)
Indicates whether or not the given message body accepts the given address
|
Serializable[] |
getArgs() |
String |
getCommandId() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public AbstractRPCService.MessageBody()
public AbstractRPCService.MessageBody(org.jgroups.Address dest,
String commandId,
Serializable[] args)
dest - The destination of the messagecommandId - the id of the command to executeargs - the arguments to usepublic String getCommandId()
public Serializable[] getArgs()
public boolean accept(org.jgroups.Address address)
address - the address to checktrue if the message is for everybody or if the given address is the expected address,
false otherwisepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2014 eXo Platform SAS. All Rights Reserved.