com.taosdata.jdbc.ws.tmq.entity

## 类 PollResp

- java.lang.Object
- - com.taosdata.jdbc.ws.entity.Response
  - - com.taosdata.jdbc.ws.tmq.entity.PollResp

    public class PollResp
    extends Response

### 构造器概要

构造器
构造器和说明
`PollResp()`

### 方法概要

所有方法 实例方法 具体方法
`int` `getCode()`
`String` `getDatabase()`
`String` `getMessage()`
`long` `getMessageId()`
`int` `getMessageType()`
`long` `getTiming()`
`String` `getTopic()`
`int` `getVgroupId()`
`boolean` `isHaveMessage()`
`void` `setCode(int code)`
`void` `setDatabase(String database)`
`void` `setHaveMessage(boolean haveMessage)`
`void` `setMessage(String message)`
`void` `setMessageId(long messageId)`
`void` `setMessageType(int messageType)`
`void` `setTiming(long timing)`
`void` `setTopic(String topic)`
`void` `setVgroupId(int vgroupId)`

### 从类继承的方法 com.taosdata.jdbc.ws.entity.Response

`getAction, getReqId, setAction, setReqId`

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

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

### 构造器详细资料

#### PollResp

    public PollResp()

### 方法详细资料

#### getCode

    public int getCode()

#### setCode

    public void setCode(int code)

#### getMessage

    public String getMessage()

#### setMessage

    public void setMessage(String message)

#### isHaveMessage

    public boolean isHaveMessage()

#### setHaveMessage

    public void setHaveMessage(boolean haveMessage)

#### getTopic

    public String getTopic()

#### setTopic

    public void setTopic(String topic)

#### getDatabase

    public String getDatabase()

#### setDatabase

    public void setDatabase(String database)

#### getVgroupId

    public int getVgroupId()

#### setVgroupId

    public void setVgroupId(int vgroupId)

#### getMessageType

    public int getMessageType()

#### setMessageType

    public void setMessageType(int messageType)

#### getMessageId

    public long getMessageId()

#### setMessageId

    public void setMessageId(long messageId)

#### getTiming

    public long getTiming()

#### setTiming

    public void setTiming(long timing)