com.taosdata.jdbc.ws

## 类 Transport

- java.lang.Object
- - com.taosdata.jdbc.ws.Transport

所有已实现的接口:
  AutoCloseable

    public class Transport
    extends Object
    implements AutoCloseable

send message

### 字段概要

字段
`static int` `DEFAULT_MAX_REQUEST`
`static int` `DEFAULT_MESSAGE_WAIT_TIMEOUT`

### 构造器概要

构造器
构造器和说明
`Transport(WSClient client, InFlightRequest inFlightRequest)`

### 方法概要

所有方法 实例方法 具体方法
`void` `close()`
`boolean` `isClosed()`
`CompletableFuture<Response>` `send(Request request)`
`void` `sendWithoutRep(Request request)`

### 从类继承的方法 java.lang.Object

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

### 字段详细资料

#### DEFAULT_MAX_REQUEST

    public static final int DEFAULT_MAX_REQUEST

另请参阅:
  常量字段值

#### DEFAULT_MESSAGE_WAIT_TIMEOUT

    public static final int DEFAULT_MESSAGE_WAIT_TIMEOUT

另请参阅:
  常量字段值

### 构造器详细资料

#### Transport

    public Transport(WSClient client,
                     InFlightRequest inFlightRequest)

### 方法详细资料

#### send

    public CompletableFuture<Response> send(Request request)

#### sendWithoutRep

    public void sendWithoutRep(Request request)

#### isClosed

    public boolean isClosed()
                     throws SQLException

抛出:
  `SQLException`

#### close

    public void close()

指定者:
  `close` 在接口中 `AutoCloseable`