equip.net
Class ProxyDelegate
java.lang.Object
equip.net.ProxyDelegate
- public class ProxyDelegate
- extends java.lang.Object
Generic implementation of ServiceProxy, for use by
delegation from IDL'd subclasses of ServiceProxy.
The main entry point is init(equip.net.ServiceProxy, equip.net.ProxyDelegate.Handler, java.lang.Object), which passes received
messages to a callback interface implementing
ProxyDelegate.Handler.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyDelegate
public ProxyDelegate()
- empty constructor - see
init(equip.net.ServiceProxy, equip.net.ProxyDelegate.Handler, java.lang.Object)
init
public boolean init(ServiceProxy proxy,
ProxyDelegate.Handler handler,
java.lang.Object closure)
- true = ok; handler!=null => create new thread for replies
getConnection
public ConnectionSap getConnection()
activate
public boolean activate(DeactivateCallback callback,
ValueBase closure)
deactivate
public void deactivate()
notifyDeactivate
public void notifyDeactivate()
doSimpleRpc
public ValueBase doSimpleRpc(ValueBase request)