Class TcpSocketServer

java.lang.Object
com.aoapps.messaging.base.AbstractSocketContext<TcpSocket>
com.aoapps.messaging.tcp.server.TcpSocketServer
All Implemented Interfaces:
com.aoapps.messaging.SocketContext, Closeable, AutoCloseable

public class TcpSocketServer extends AbstractSocketContext<TcpSocket>
Server component for bi-directional messaging over TCP.
  • Constructor Details

    • TcpSocketServer

      public TcpSocketServer(int port)
      Creates a new TCP socket server.
    • TcpSocketServer

      public TcpSocketServer(int port, int backlog)
      Creates a new TCP socket server.
    • TcpSocketServer

      public TcpSocketServer(int port, int backlog, InetAddress bindAddr)
      Creates a new TCP socket server.
  • Method Details