org.minetti.astrodevice.common.orb.callback
Interface ClientCallbackOrbHandler

All Superinterfaces:
Remote

public interface ClientCallbackOrbHandler
extends Remote

Object passed by clients for receive all callbacks from server.

Each instance of this class is registered near the server via the method register of PlatformOrbProcess and is unregistered via the method unregister.

Author:
Jean-Philippe MINETTI
See Also:
PlatformOrbProcess.register(ClientCallbackHandler), PlatformOrbProcess.unregister(ClientCallbackHandler)

Method Summary
 String getInstanceName()
          Returns the name given to client instance.
 void handle(ClientOrbCallback callback)
          Sends of handling by the server to a client.
 

Method Detail

getInstanceName

String getInstanceName()
                       throws RemoteException
Returns the name given to client instance.

Returns:
Name given to client instance.
Throws:
RemoteException - Exception if an error occurred.

handle

void handle(ClientOrbCallback callback)
            throws RemoteException
Sends of handling by the server to a client.

Parameters:
callback - Handling to send.
Throws:
RemoteException - Exception if an error occurred.


Copyright © 2012 astroDevice. All Rights Reserved.