com.impinj.stp

## Class TcpIpCommunication

- java.lang.Object
- - com.impinj.stp.TcpIpCommunication

-     public class TcpIpCommunication
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `TcpIpCommunication(java.lang.String ipOrHost, int timeoutMS)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `Close()` Closes connection between Speedway and the STP application
    `protected java.net.Socket` | `getSocket()`
    `protected boolean` | `isjUnitTest()`
    `protected byte[]` | `read(int length)`
    `protected void` | `write(byte[] buf)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TcpIpCommunication

          protected TcpIpCommunication(java.lang.String ipOrHost,
                                       int timeoutMS)
                                throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### isjUnitTest

          protected boolean isjUnitTest()

    - #### getSocket

          protected java.net.Socket getSocket()

    - #### Close

          protected void Close()

      Closes connection between Speedway and the STP application

    - #### write

          protected void write(byte[] buf)
                        throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### read

          protected byte[] read(int length)
                         throws java.io.IOException

      Throws:
        `java.io.IOException`