com.deltavsoft.rcfproto

## Class ClientTransport

- java.lang.Object
- - com.deltavsoft.rcfproto.ClientTransport

-     public class ClientTransport
      extends java.lang.Object

  Base class for all client transports.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `delete()`
    `protected void` | `finalize()`
    `long` | `getLastRequestSize()` Returns the byte size of the last request sent on the client transport.
    `long` | `getLastResponseSize()` Returns the byte size of the last response received on the client transport.
    `long` | `getMaxIncomingMessageLength()` Returns maximum incoming message length.
    `java.math.BigInteger` | `getRunningTotalBytesReceived()` Returns the running total of bytes received on the client transport.
    `java.math.BigInteger` | `getRunningTotalBytesSent()` Returns the running total of bytes sent on the client transport.
    `TransportType` | `getTransportType()` Returns the transport type of this client transport.
    `void` | `resetRunningTotals()` Resets the bytes-sent and bytes-received running totals to zero.
    `void` | `setMaxIncomingMessageLength(long maxMessageLength)` Sets maximum incoming message length.

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

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

- - ### Method Detail

    - #### finalize

          protected void finalize()

      Overrides:
        `finalize` in class `java.lang.Object`

    - #### delete

          public void delete()

    - #### getTransportType

          public TransportType getTransportType()

      Returns the transport type of this client transport.

    - #### setMaxIncomingMessageLength

          public void setMaxIncomingMessageLength(long maxMessageLength)

      Sets maximum incoming message length. Incoming messages that are larger than this size will be dropped.

    - #### getMaxIncomingMessageLength

          public long getMaxIncomingMessageLength()

      Returns maximum incoming message length.

    - #### getLastRequestSize

          public long getLastRequestSize()

      Returns the byte size of the last request sent on the client transport.

    - #### getLastResponseSize

          public long getLastResponseSize()

      Returns the byte size of the last response received on the client transport.

    - #### getRunningTotalBytesSent

          public java.math.BigInteger getRunningTotalBytesSent()

      Returns the running total of bytes sent on the client transport.

    - #### getRunningTotalBytesReceived

          public java.math.BigInteger getRunningTotalBytesReceived()

      Returns the running total of bytes received on the client transport.

    - #### resetRunningTotals

          public void resetRunningTotals()

      Resets the bytes-sent and bytes-received running totals to zero.