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.
Constructor Summary |
CallResultEvent(ISession pSession,
ISession pSource,
java.lang.String pObjectName,
java.lang.String pMethodName,
java.lang.Object[] pParameter,
boolean pIsCallBack,
java.lang.Object pObject,
java.lang.Throwable pThrowable)
Creates a new instance of CallResultEvent . |
Method Summary |
java.lang.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,
ISession pSource,
java.lang.String pObjectName,
java.lang.String pMethodName,
java.lang.Object[] pParameter,
boolean pIsCallBack,
java.lang.Object pObject,
java.lang.Throwable pThrowable)
- Creates a new instance of
CallResultEvent
.
- Parameters:
pSession
- the sessionpSource
- the source 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 java.lang.Object getObject()
throws java.lang.Throwable
- Gets the return value from the method call.
- Returns:
- the return value from the call
- Throws:
java.lang.Throwable
- if the method call throwed an error
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.