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)
ConnectionListener
connectionAdded
in interface ConnectionListener
public void connectionRemoved(Server server, HostedConnection conn)
ConnectionListener
connectionRemoved
in interface ConnectionListener
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException