Interface ISocket

    • Method Detail

      • doCall

        @Deprecated
        java.lang.Object doCall​(IWrapperSocketCall wrapperSocket,
                                java.lang.reflect.Type typeResult)
                         throws ServiceException,
                                java.io.IOException
        Deprecated.
        Make a raw call to the socket without JSON parsing
        Parameters:
        wrapperSocket - : The Payload to encoding and send throw the socket.
        typeResult - : The type result where the JSON payload will be encoded
        Returns:
        Object of the required type build with the JSON string content.
        Throws:
        java.net.SocketException - Throws if any error with the socket will happen.
        ServiceException
        java.io.IOException
      • doRawCall

        java.lang.String doRawCall​(IWrapperSocketCall wrapperSocket)
                            throws java.net.SocketException,
                                   java.io.IOException
        Make a raw call to the socket without JSON parsing
        Parameters:
        wrapperSocket - : The Payload to encoding and send throw the socket.
        Returns:
        A raw JSON string
        Throws:
        java.net.SocketException - Throws if any error with the socket will happen.
        java.io.IOException
      • isOpen

        boolean isOpen()
      • getReceiveBufferSize

        int getReceiveBufferSize()
                          throws java.net.SocketException
        Throws:
        java.net.SocketException