com.pentec.adaq.quickset
Class QuickSetClient

java.lang.Object
  extended by com.pentec.adaq.quickset.QuickSetAdapter
      extended by com.pentec.adaq.quickset.QuickSetClient
All Implemented Interfaces:
QuickSet

public class QuickSetClient
extends QuickSetAdapter

AServer network client connection to a QuickSet

The protocol is raw QuickSet packets. No data massaging occurs. Data is sent to the server and expected in return exactly as if the server is a QuickSet. This is only effective for low latency connections. TIMEOUT in QuickSetAdapter should be increased if the latency is more than a few milliseconds.

Author:
Pender Technology

Field Summary
protected  java.lang.String $Address
           
protected  int iTcpPort
           
protected  java.net.Socket socket
           
 
Fields inherited from class com.pentec.adaq.quickset.QuickSetAdapter
in, INIT_PACKETS, out, TIMEOUT
 
Fields inherited from interface com.pentec.adaq.quickset.QuickSet
DEBUG
 
Constructor Summary
QuickSetClient(java.lang.String $Address, int iTcpPort)
           
 
Method Summary
 void close()
          Close the connection to the QuickSet
protected  void open()
           
 
Methods inherited from class com.pentec.adaq.quickset.QuickSetAdapter
applyEscapeChars, command, initialize, readPacket, removedEscapeChars, writePacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

$Address

protected java.lang.String $Address

iTcpPort

protected int iTcpPort

socket

protected java.net.Socket socket
Constructor Detail

QuickSetClient

public QuickSetClient(java.lang.String $Address,
                      int iTcpPort)
               throws java.io.IOException,
                      java.net.UnknownHostException
Throws:
java.io.IOException
java.net.UnknownHostException
Method Detail

close

public void close()
Close the connection to the QuickSet


open

protected void open()
             throws java.io.IOException,
                    java.net.UnknownHostException
Throws:
java.io.IOException
java.net.UnknownHostException