org.exoplatform.services.rpc.impl
Class AbstractRPCService.MessageBody
java.lang.Object
org.exoplatform.services.rpc.impl.AbstractRPCService.MessageBody
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- AbstractRPCService
public static class AbstractRPCService.MessageBody
- extends Object
- implements Externalizable
This intern class will be used to
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRPCService.MessageBody
public AbstractRPCService.MessageBody()
AbstractRPCService.MessageBody
public AbstractRPCService.MessageBody(org.jgroups.Address dest,
String commandId,
Serializable[] args)
- Parameters:
dest - The destination of the messagecommandId - the id of the command to executeargs - the arguments to use
getCommandId
public String getCommandId()
getArgs
public Serializable[] 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:
true if the message is for everybody or if the given address is the expected address,
false otherwise
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
-
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
-
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.