javax.rad.server.event
Class CallResultEvent
java.lang.Object
javax.rad.server.event.SessionEvent
javax.rad.server.event.CallEvent
javax.rad.server.event.CallResultEvent
public class CallResultEvent
- extends CallEvent
The CallResultEvent serves the result from a method call. The result can be
any object (also an exception) or a call exception.
|
Method Summary |
Object |
getObject()
Gets the return value from the method call. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallResultEvent
public CallResultEvent(ISession pSession,
String pObjectName,
String pMethodName,
Object[] pParameter,
boolean pIsCallBack,
Object pObject,
Throwable pThrowable)
- Creates a new instance of
CallResultEvent.
- Parameters:
pSession - the sessionpObjectName - the object name for the callpMethodName - the method name for the callpParameter - the parameter listpIsCallBack - whether the call is a callback callpObject - result value from the method call. If
the method call returned a result, the exception is undefined!pThrowable - exception from the the remote method call. If
the method call returned an error, the result is undefined!
getObject
public Object getObject()
throws Throwable
- Gets the return value from the method call.
- Returns:
- the return value from the call
- Throws:
Throwable - if the method call throwed an error
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.