org.simantics.databoard.accessor.wire
Class WireClient
java.lang.Object
org.simantics.databoard.accessor.wire.WireClient
- All Implemented Interfaces:
- IWireClient
public class WireClient
- extends java.lang.Object
- implements IWireClient
WireAccessor provides an accessor over TCP/IP connection.
All method invocation is blocking. WireAccessor may be accessed from
simultanous threads.
- Author:
- Toni Kalajainen
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WireClient
public WireClient()
setServerMethodInterface
public void setServerMethodInterface(MethodInterface serverMi)
getServerMethodInterface
public MethodInterface getServerMethodInterface()
getClientMethodInterface
public MethodInterface getClientMethodInterface()
close
public void close()
getAccessor
public org.simantics.databoard.accessor.wire.WireClient.WireAccessor getAccessor(AccessorReference ref)
throws WireException
- Create or get wire accessor
- Parameters:
ref
- path from root
- Returns:
- wire accessor
- Throws:
WireException
onEvents
public int onEvents(int lisId,
Event[] events)
- Specified by:
onEvents
in interface IWireClient