@Override public void stop() { this.tcpServer.stop(); } }
/** * Connects to the given {@code address} and {@code port}. */ public HttpClient(InetAddress address, int port) throws IOException { this.tcpClient = new TcpClient(address, port); }
@Override public void stop() { this.nioTcpServer.stop(); } }
/** * @return The endpoint address of this HTTP server * @see TcpServer#getEndpointAddress() */ public InetSocketAddress getEndpointAddress() { return this.tcpServer.getEndpointAddress(); } }
/** * Stops this FTP data connection proxy. */ void stop() { ReverseProxy rp = this.reverseProxy; if (rp != null) rp.stop(); } }
@Override public void run() throws IOException { this.reverseProxy.run(); }
@Override public void run() throws IOException { this.tcpServer.run(); }
/** * @see NioTcpServer#start(int) */ public void start(int threadCount) { this.nioTcpServer.start(threadCount); }
/** * The address and the <em>actual</em> port that this {@link Httpd} is bound to. * * @see #Httpd(InetSocketAddress, String) * @see TcpServer#getEndpointAddress() */ public InetSocketAddress getEndpointAddress() { return this.tcpServer.getEndpointAddress(); } }
/** * Will stop the accepting connections from the server socket, close the server socket, and cause {@link #run()} to * return as quickly as possible. */ @Override public void stop() { this.tcpServer.stop(); }
/** * Connects to the given <var>address</var> and <var>port</var>. */ public HttpClient(InetAddress address, int port) throws IOException { this.tcpClient = new TcpClient(address, port); }
/** * Stops this FTP data connection proxy. */ void stop() { ReverseProxy rp = this.reverseProxy; if (rp != null) rp.stop(); } }
@Override public void stop() { this.nioTcpServer.stop(); } }
/** * @see NioTcpServer#start(int) */ public void start(int threadCount) { this.nioTcpServer.start(threadCount); }
/** * The address and the <em>actual</em> port that this {@link Httpd} is bound to. * * @see #Httpd(InetSocketAddress, String) * @see TcpServer#getEndpointAddress() */ public InetSocketAddress getEndpointAddress() { return this.tcpServer.getEndpointAddress(); } }
/** * Will stop the accepting connections from the server socket, close the server socket, and cause {@link #run()} to * return as quickly as possible. */ @Override public void stop() { this.tcpServer.stop(); }
/** @return The local address of the passive socket of the reverse proxy */ public InetSocketAddress getEndpointAddress() { return this.server.getEndpointAddress(); }
@Override public void stop() { this.tcpServer.stop(); } }
/** * @return The endpoint address of this HTTP server * @see TcpServer#getEndpointAddress() */ public InetSocketAddress getEndpointAddress() { return this.tcpServer.getEndpointAddress(); } }
/** * @return The endpoint address of the local HTTP server. */ public InetSocketAddress getEndpointAddress() { return this.tcpServer.getEndpointAddress(); } }