javax.rad.server.event
Class CallEvent

java.lang.Object
  extended by javax.rad.server.event.SessionEvent
      extended by javax.rad.server.event.CallEvent
Direct Known Subclasses:
CallResultEvent

public class CallEvent
extends SessionEvent

The CallEvent serves information about a server call.


Constructor Summary
  CallEvent(ISession pSession, ISession pSource, java.lang.String pObjectName, java.lang.String pMethodName, java.lang.Object[] pParameter, boolean pIsCallBack)
          Creates a new instance of CallEvent.
protected CallEvent(ISession pSession, ISession pSource, java.lang.String pObjectName, java.lang.String pMethodName, java.lang.Object[] pParameter, boolean pIsCallBack, boolean pHasError)
          Creates a new instance of CallEvent.
 
Method Summary
 java.lang.String getMethodName()
          Gets the method name for the call.
 java.lang.String getObjectName()
          Gets the object name for the call.
 java.lang.Object[] getParameter()
          Gets all parameters for the call.
 boolean isCallBack()
          Gets whether the call is a callback call.
 
Methods inherited from class javax.rad.server.event.SessionEvent
getCreationTime, getSession, getSourceSession, hasError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallEvent

public CallEvent(ISession pSession,
                 ISession pSource,
                 java.lang.String pObjectName,
                 java.lang.String pMethodName,
                 java.lang.Object[] pParameter,
                 boolean pIsCallBack)
Creates a new instance of CallEvent.

Parameters:
pSession - the session
pSource - the source session
pObjectName - the object name for the call
pMethodName - the method name for the call
pParameter - the parameter list
pIsCallBack - whether the call is a callback call

CallEvent

protected CallEvent(ISession pSession,
                    ISession pSource,
                    java.lang.String pObjectName,
                    java.lang.String pMethodName,
                    java.lang.Object[] pParameter,
                    boolean pIsCallBack,
                    boolean pHasError)
Creates a new instance of CallEvent.

Parameters:
pSession - the session
pSource - the source session
pObjectName - the object name for the call
pMethodName - the method name for the call
pParameter - the parameter list
pIsCallBack - whether the call is a callback call
pHasError - whether the event should marked faulty
Method Detail

getObjectName

public java.lang.String getObjectName()
Gets the object name for the call.

Returns:
the object name

getMethodName

public java.lang.String getMethodName()
Gets the method name for the call.

Returns:
the object name

getParameter

public java.lang.Object[] getParameter()
Gets all parameters for the call.

Returns:
the parameters

isCallBack

public boolean isCallBack()
Gets whether the call is a callback call.

Returns:
true if the call is a callback call, false otherwise


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.