javax.rad.server
Interface ICallBackBroker


public interface ICallBackBroker

The ICallBackBroker enables publishing of objects from the server to the client.


Nested Class Summary
static class ICallBackBroker.PublishState
          The publish state.
 
Method Summary
 ICallBackBroker.PublishState publish(java.lang.String pInstruction, java.lang.Object pObject)
          Publishs an object to the client for the current session.
 ICallBackBroker.PublishState publishAll(java.lang.String pInstruction, java.lang.Object pObject)
          Publishs an object to all client for the current session and all other master sessions for the same application as the current one.
 

Method Detail

publish

ICallBackBroker.PublishState publish(java.lang.String pInstruction,
                                     java.lang.Object pObject)
Publishs an object to the client for the current session.

Parameters:
pInstruction - the instruction identifier
pObject - the object to publich
Returns:
the publish state

publishAll

ICallBackBroker.PublishState publishAll(java.lang.String pInstruction,
                                        java.lang.Object pObject)
Publishs an object to all client for the current session and all other master sessions for the same application as the current one.

Parameters:
pInstruction - the instruction identifier
pObject - the object to publich
Returns:
the publish state


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.