JBoss Remoting 3.1.0.Beta2

org.jboss.remoting3.spi
Interface LocalReplyHandler


public interface LocalReplyHandler

A reply handler which is local to this machine.


Method Summary
 ClassLoader getClassLoader()
          Get the class loader to be used to unmarshall replies.
 void handleCancellation()
          Handle a cancellation acknowledgement.
 void handleException(IOException exception)
          Handle an exception.
 void handleReply(Object reply)
          Handle a successful reply.
 

Method Detail

getClassLoader

ClassLoader getClassLoader()
Get the class loader to be used to unmarshall replies.

Returns:
the class loader

handleReply

void handleReply(Object reply)
Handle a successful reply. If the reply could not be forwarded, an exception is thrown.

Parameters:
reply - the reply

handleException

void handleException(IOException exception)
Handle an exception. If the exception could not be forwarded, a (different) IOException is thrown.

Parameters:
exception - an exception which describes the problem

handleCancellation

void handleCancellation()
Handle a cancellation acknowledgement. If the cancellation acknowledgement could not be forwarded, an exception is thrown.


JBoss Remoting 3.1.0.Beta2

Copyright © 2010 JBoss, a division of Red Hat, Inc.