javax.rad.remote.event
Class CallBackForward

java.lang.Object
  extended by javax.rad.remote.event.CallBackForward
All Implemented Interfaces:
ICallBackListener

public class CallBackForward
extends java.lang.Object
implements ICallBackListener

The CallBackForward is a special ICallBackListener implementation which will replace the event source of the received CallBackEvent with another source.


Constructor Summary
CallBackForward(java.lang.Object pSource, ICallBackListener pListener)
          Creates a new instance of CallBackForward.
CallBackForward(UIInvoker pUIInvoker, java.lang.Object pSource, ICallBackListener pListener)
          Creates a new instance of CallBackForward.
 
Method Summary
 void callBack(CallBackEvent pEvent)
          If the IConnection detects a callback, then this method will be called, to notify the client listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallBackForward

public CallBackForward(java.lang.Object pSource,
                       ICallBackListener pListener)
Creates a new instance of CallBackForward.

Parameters:
pSource - the "new" event source for the received event
pListener - the original listener

CallBackForward

public CallBackForward(UIInvoker pUIInvoker,
                       java.lang.Object pSource,
                       ICallBackListener pListener)
Creates a new instance of CallBackForward.

Parameters:
pUIInvoker - the invokeLater helper from the right calling thread
pSource - the "new" event source for the received event
pListener - the original listener
Method Detail

callBack

public void callBack(CallBackEvent pEvent)
If the IConnection detects a callback, then this method will be called, to notify the client listener.

Specified by:
callBack in interface ICallBackListener
Parameters:
pEvent - result, of an asynchronous method call


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.