Class AbstractRPCService.MessageBody
java.lang.Object
org.exoplatform.services.rpc.impl.AbstractRPCService.MessageBody
- All Implemented Interfaces:
Externalizable,Serializable
- Enclosing class:
- AbstractRPCService
This intern class will be used to
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageBody(org.jgroups.Address dest, String commandId, Serializable[] args) -
Method Summary
-
Constructor Details
-
MessageBody
public MessageBody() -
MessageBody
- Parameters:
dest- The destination of the messagecommandId- the id of the command to executeargs- the arguments to use
-
-
Method Details
-
getCommandId
-
getArgs
-
accept
public boolean accept(org.jgroups.Address address) Indicates whether or not the given message body accepts the given address- Parameters:
address- the address to check- Returns:
trueif the message is for everybody or if the given address is the expected address,falseotherwise
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-