Class C2SIOService<RefObject>

    • Constructor Detail

      • C2SIOService

        public C2SIOService()
    • Method Detail

      • addReceivedPacket

        protected void addReceivedPacket​(Packet packet)
        Description copied from class: XMPPIOService
        Method addReceivedPacket puts processing results to queue. The processing results are usually data (messages) which has been just received from socket.
        Overrides:
        addReceivedPacket in class XMPPIOService<RefObject>
        Parameters:
        packet - a Packet value of processing results.
      • waitForResponse

        public void waitForResponse()
      • isWaitingForResponse

        public boolean isWaitingForResponse()
      • queueTask

        public void queueTask​(java.lang.Runnable run)
      • shouldQueueStreamOpened

        public boolean shouldQueueStreamOpened()
      • startTLS

        public void startTLS​(boolean clientMode,
                             boolean wantClientAuth,
                             boolean needClientAuth)
                      throws java.io.IOException
        Overrides:
        startTLS in class IOService<RefObject>
        Throws:
        java.io.IOException