net.metanotion.rpc
Class OOBExceptionMessage

java.lang.Object
  extended by net.metanotion.rpc.OOBExceptionMessage
All Implemented Interfaces:
java.io.Serializable, Message<OutOfBandMessages>

public final class OOBExceptionMessage
extends java.lang.Object
implements Message<OutOfBandMessages>

See Also:
Serialized Form

Constructor Summary
OOBExceptionMessage(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Object call(OutOfBandMessages oobm)
          Call a method on o, returning the return values.
 java.lang.Class<OutOfBandMessages> getInterface()
          Get the Class object for interface this Message expects
 void send(OutOfBandMessages oobm)
          Send a message to o, ignore any return values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OOBExceptionMessage

public OOBExceptionMessage(java.lang.Throwable cause)
Method Detail

send

public void send(OutOfBandMessages oobm)
Description copied from interface: Message
Send a message to o, ignore any return values. (Asynchronous)

Specified by:
send in interface Message<OutOfBandMessages>
Parameters:
oobm - Object to receive the message.

call

public java.lang.Object call(OutOfBandMessages oobm)
Description copied from interface: Message
Call a method on o, returning the return values. (Synchronous)

Specified by:
call in interface Message<OutOfBandMessages>
Parameters:
oobm - Object to receive the message.
Returns:
Result of the message.

getInterface

public java.lang.Class<OutOfBandMessages> getInterface()
Description copied from interface: Message
Get the Class object for interface this Message expects

Specified by:
getInterface in interface Message<OutOfBandMessages>
Returns:
Class object representing the interface this message expects to send to.