org.hopto.pentaj.jexin.node
Class MockTraceClient

java.lang.Object
  extended by org.hopto.pentaj.jexin.node.MockTraceClient
All Implemented Interfaces:
TraceClient

public class MockTraceClient
extends java.lang.Object
implements TraceClient

Used to work with the jexin web server in isolation. Produces mock data as if from a node.


Field Summary
 
Fields inherited from interface org.hopto.pentaj.jexin.node.TraceClient
DEFAULT_PORT
 
Constructor Summary
MockTraceClient()
           
 
Method Summary
 void connect(NodeAddress address, TraceClientObserver traceClientObserver)
          Connects to the TraceServer
 void disconnect()
          Disconnects from the TraceServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTraceClient

public MockTraceClient()
Method Detail

connect

public void connect(NodeAddress address,
                    TraceClientObserver traceClientObserver)
             throws java.net.UnknownHostException,
                    java.io.IOException
Description copied from interface: TraceClient
Connects to the TraceServer

Specified by:
connect in interface TraceClient
Throws:
java.net.UnknownHostException
java.io.IOException
See Also:
TraceClient.connect(org.hopto.pentaj.jexin.node.NodeAddress, org.hopto.pentaj.jexin.node.TraceClientObserver)

disconnect

public void disconnect()
Description copied from interface: TraceClient
Disconnects from the TraceServer

Specified by:
disconnect in interface TraceClient
See Also:
TraceClient.disconnect()