类 RequestInfo


  • public class RequestInfo
    extends java.lang.Object
    The type Request info.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      DataPacket getDataPacket()
      Gets data packet.
      boolean isHasResponse()
      Is has response boolean.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • RequestInfo

        public RequestInfo​(DataPacket dataPacket)
        Instantiates a new Request info.
        参数:
        dataPacket - the data packet
      • RequestInfo

        public RequestInfo​(DataPacket dataPacket,
                           boolean hasResponse)
        Instantiates a new Request info.
        参数:
        dataPacket - the data packet
        hasResponse - the has response
    • 方法详细资料

      • getDataPacket

        public DataPacket getDataPacket()
        Gets data packet.
        返回:
        the data packet
      • isHasResponse

        public boolean isHasResponse()
        Is has response boolean.
        返回:
        the boolean