javax.rad.remote
Class AbstractConnection.CallBackResultDelegate

java.lang.Object
  extended by javax.rad.remote.AbstractConnection.ListenerDelegate<ICallBackResultListener>
      extended by javax.rad.remote.AbstractConnection.CallBackResultDelegate
All Implemented Interfaces:
ICallBackResultListener
Enclosing class:
AbstractConnection

public static class AbstractConnection.CallBackResultDelegate
extends AbstractConnection.ListenerDelegate<ICallBackResultListener>
implements ICallBackResultListener

The CallBackResultDelegate is an ICallBackResultListener that forwards callback result events to single listeners. The listeners can be mapped to specific or all instructions.


Constructor Summary
AbstractConnection.CallBackResultDelegate()
           
 
Method Summary
 void callBackResult(CallBackResultEvent pEvent)
          If the IConnection detects a callback result, then this method will be called, to notify the client listener.
 
Methods inherited from class javax.rad.remote.AbstractConnection.ListenerDelegate
add, getListeners, remove, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConnection.CallBackResultDelegate

public AbstractConnection.CallBackResultDelegate()
Method Detail

callBackResult

public void callBackResult(CallBackResultEvent pEvent)
                    throws java.lang.Throwable
If the IConnection detects a callback result, then this method will be called, to notify the client listener.

Specified by:
callBackResult in interface ICallBackResultListener
Parameters:
pEvent - event of a server-sent callback
Throws:
java.lang.Throwable - if callback-result handling fails


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.