public class TestNetworkStress extends java.lang.Object implements ConnectionListener
| Constructor and Description |
|---|
TestNetworkStress() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionAdded(Server server,
HostedConnection conn)
Called when a connection has been added to the specified server and
is fully setup.
|
void |
connectionRemoved(Server server,
HostedConnection conn)
Called when a connection has been removed from the specified
server.
|
static void |
main(java.lang.String[] args) |
public void connectionAdded(Server server, HostedConnection conn)
ConnectionListenerconnectionAdded in interface ConnectionListenerpublic void connectionRemoved(Server server, HostedConnection conn)
ConnectionListenerconnectionRemoved in interface ConnectionListenerpublic static void main(java.lang.String[] args)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException