fulmine.rpc
Interface IRpcPublicationListener

All Known Subinterfaces:
IRemoteUpdateInvoker
All Known Implementing Classes:
RemoteUpdateInvoker

public interface IRpcPublicationListener

Receives notifications when an RPC is published or unpublished by a remote context.

Author:
Ramon Servadei
See Also:
IRpcManager.addRpcPublicationListener(String, IRpcPublicationListener), IRpcManager.removeRpcPublicationListener(String, IRpcPublicationListener)

Method Summary
 void procedureAvailable(String remoteContextIdentity, IRpcDefinition rpcDefinition)
          Executed when the local context can invoke the named RPC in the identified remote context.
 void procedureUnavailable(String remoteContextIdentity, IRpcDefinition rpcDefinition)
          Executed when a remote context unpublishes (removes) the named RPC.
 

Method Detail

procedureAvailable

void procedureAvailable(String remoteContextIdentity,
                        IRpcDefinition rpcDefinition)
Executed when the local context can invoke the named RPC in the identified remote context.

Parameters:
remoteContextIdentity - the remote context that has published the procedure, when calling the procedure, this remote context will handle it
rpcDefinition - the RPC definition

procedureUnavailable

void procedureUnavailable(String remoteContextIdentity,
                          IRpcDefinition rpcDefinition)
Executed when a remote context unpublishes (removes) the named RPC. The RPC is no longer available for invocation.

Parameters:
remoteContextIdentity - the remote context that has unpublished the RPC
rpcDefinition - the RPC definition that has been removed


Copyright © 2007-2009. All Rights Reserved.