@Deprecated public class LegacyConnectionAcceptor extends ConnectionAcceptor
configuration| Constructor and Description |
|---|
LegacyConnectionAcceptor(ConnectionConfiguration configuration)
Deprecated.
Constructs a new instance which will accept new connections based on the provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIdle()
Deprecated.
Determines if this instance is currently in a state where it is actively serving connections.
|
void |
reconfigure(ConnectionConfiguration configuration)
Deprecated.
Reloads the acceptor configuration, without causing a disconnect of already established connections.
|
void |
start()
Deprecated.
Starts this acceptor by binding the socket acceptor.
|
void |
stop()
Deprecated.
Stops this acceptor by unbinding the socket acceptor.
|
public LegacyConnectionAcceptor(ConnectionConfiguration configuration)
start() is invoked.configuration - The configuration for connections to be accepted (cannot be null).public void start()
start in class ConnectionAcceptorpublic void stop()
stop in class ConnectionAcceptorpublic boolean isIdle()
ConnectionAcceptorisIdle in class ConnectionAcceptorpublic void reconfigure(ConnectionConfiguration configuration)
ConnectionAcceptorreconfigure in class ConnectionAcceptorconfiguration - The configuration for connections to be accepted (cannot be null).Copyright © 2003-2008 Jive Software.