Class TcpRequestChannel

  • All Implemented Interfaces:
    RequestChannel

    public class TcpRequestChannel
    extends Object
    implements RequestChannel
    A TcpConnection links a Joram client and a Joram platform with a TCP socket.

    Requests and replies travel through the socket after serialization.

    • Constructor Detail

      • TcpRequestChannel

        public TcpRequestChannel​(FactoryParameters params,
                                 Identity identity)
                          throws jakarta.jms.JMSException
        Creates a TcpConnection instance.
        Parameters:
        params - Factory parameters.
        identity -
        Throws:
        jakarta.jms.JMSSecurityException - If the user identification is incorrect.
        jakarta.jms.IllegalStateException - If the server is not reachable.
        jakarta.jms.JMSException
      • TcpRequestChannel

        public TcpRequestChannel​(FactoryParameters params,
                                 Identity identity,
                                 String reliableClass)
                          throws jakarta.jms.JMSException
        Creates a TcpConnection instance.
        Parameters:
        params - Factory parameters.
        identity -
        reliableClass - reliable class name.
        Throws:
        jakarta.jms.JMSSecurityException - If the user identification is incorrect.
        jakarta.jms.IllegalStateException - If the server is not reachable.
        jakarta.jms.JMSException