@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 ConnectionAcceptor
public void stop()
stop
in class ConnectionAcceptor
public boolean isIdle()
ConnectionAcceptor
isIdle
in class ConnectionAcceptor
public void reconfigure(ConnectionConfiguration configuration)
ConnectionAcceptor
reconfigure
in class ConnectionAcceptor
configuration
- The configuration for connections to be accepted (cannot be null).Copyright © 2003-2008 Jive Software.