javax.rad.remote.event
Class CallEvent

java.lang.Object
  extended by javax.rad.remote.event.ConnectionEvent
      extended by javax.rad.remote.event.CallEvent

public class CallEvent
extends ConnectionEvent

The CallEvent class contains information about object and action calls. The difference between object and action calls is that the object name is null for action calls. And the action name is the method name.


Constructor Summary
CallEvent(AbstractConnection pConnection, java.lang.String pObjectName, java.lang.String pMethodName, java.lang.Object[] pParams, boolean pIsCallBack)
          Creates a new instance of CallEvent.
 
Method Summary
 java.lang.String getMethodName()
          Gets the method or action name.
 java.lang.String getObjectName()
          Gets the object name.
 java.lang.Object[] getParameter()
          Gets the parameter list.
 boolean isCallBack()
          Gets whether the call is a callback call.
 
Methods inherited from class javax.rad.remote.event.ConnectionEvent
getConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallEvent

public CallEvent(AbstractConnection pConnection,
                 java.lang.String pObjectName,
                 java.lang.String pMethodName,
                 java.lang.Object[] pParams,
                 boolean pIsCallBack)
Creates a new instance of CallEvent.

Parameters:
pConnection - the connection
pObjectName - the name of the object or null for an action call
pMethodName - the method or action name
pParams - the parameter
pIsCallBack - true if the call is a callback call, false otherwise
Method Detail

getObjectName

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

Returns:
the name of the object or null for an action call

getMethodName

public java.lang.String getMethodName()
Gets the method or action name.

Returns:
the name

getParameter

public java.lang.Object[] getParameter()
Gets the parameter list.

Returns:
the parameter

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.