org.sapia.ubik.rmi.server.invocation
Class ServerPreInvokeEvent

java.lang.Object
  extended by org.sapia.ubik.rmi.server.invocation.ServerPreInvokeEvent
All Implemented Interfaces:
Event

public class ServerPreInvokeEvent
extends java.lang.Object
implements Event

An event signaling that a remote method call has been received on the server-side.

Author:
Yanick
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 InvokeCommand getInvokeCommand()
          Returns the command that represents the method invocation that will be performed.
 long getInvokeTime()
          Returns the approximate time at which the invocation was received.
 java.lang.Object getTarget()
          Returns the object on which to perform the method call.
 void setTarget(java.lang.Object target)
          Sets the target of the invocation (client-applications can thus substitute the original target with the one passed in).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInvokeCommand

public InvokeCommand getInvokeCommand()
Returns the command that represents the method invocation that will be performed.

Returns:
an InvokeCommand.

setTarget

public void setTarget(java.lang.Object target)
Sets the target of the invocation (client-applications can thus substitute the original target with the one passed in).

Parameters:
target - a new target on which to perform the invocation.

getTarget

public java.lang.Object getTarget()
Returns the object on which to perform the method call.

Returns:
an Object.

getInvokeTime

public long getInvokeTime()
Returns the approximate time at which the invocation was received.

Returns:
a time in milliseconds.


Copyright © 2010 Sapia OSS. All Rights Reserved.