org.simantics.databoard.accessor.wire
Class WireClient

java.lang.Object
  extended by 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

Constructor Summary
WireClient()
           
 
Method Summary
 void close()
           
 org.simantics.databoard.accessor.wire.WireClient.WireAccessor getAccessor(AccessorReference ref)
          Create or get wire accessor
 MethodInterface getClientMethodInterface()
           
 MethodInterface getServerMethodInterface()
           
 int onEvents(int lisId, Event[] events)
           
 void setServerMethodInterface(MethodInterface serverMi)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WireClient

public WireClient()
Method Detail

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