equip.net
Class ServiceProxyImpl

java.lang.Object
  extended byequip.runtime.Object
      extended byequip.runtime.ValueBase
          extended byequip.net.ServiceProxy
              extended byequip.net.ServiceProxyImpl
All Implemented Interfaces:
java.lang.Cloneable

public class ServiceProxyImpl
extends ServiceProxy

Implementation of IDL'd class ServiceProxy


Field Summary
 
Fields inherited from class equip.net.ServiceProxy
serviceMoniker
 
Constructor Summary
ServiceProxyImpl()
           
 
Method Summary
 boolean activate()
           
 boolean activate(DeactivateCallback callback, ValueBase closure)
          Request activation of the service proxy, i.e. connect to server.
 void deactivate()
          Request deactivation of an (active) service proxy, i.e.
 
Methods inherited from class equip.net.ServiceProxy
_equals_helper, _matches_helper, equals, getModuleName, matches, readObject, writeObject
 
Methods inherited from class equip.runtime.ValueBase
_equals_helper, _matches_helper, clone
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProxyImpl

public ServiceProxyImpl()
Method Detail

activate

public boolean activate(DeactivateCallback callback,
                        ValueBase closure)
Description copied from class: ServiceProxy
Request activation of the service proxy, i.e. connect to server.

Specified by:
activate in class ServiceProxy
Returns:
success (true = ok). If true, and callback!=null then if the communication fails before deactivate is intiated then callback will be notified.

activate

public boolean activate()

deactivate

public void deactivate()
Description copied from class: ServiceProxy
Request deactivation of an (active) service proxy, i.e. disconnect from server.

Specified by:
deactivate in class ServiceProxy