public static interface NetworkInterface.ConnectionListener
NetworkInterface
in order to receive events about connections created or destroyed for a
client on the DRDA network server.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close any artifacts of this connection listener.
|
void |
connectionClosed(Socket clientSocket,
int connectionNumber)
Indicates that the a connection to this network server has been closed.
|
void |
connectionOpened(Socket clientSocket,
int connectionNumber)
Indicates that a new connection has been opened to this network server.
|
void connectionOpened(Socket clientSocket, int connectionNumber)
clientSocket - the Socket object created for the clientconnectionNumber - the connection number for this client connection that gets
incremented for every new client connectionvoid connectionClosed(Socket clientSocket, int connectionNumber)
clientSocket - the Socket object created for the clientconnectionNumber - the connection number for this client connection that gets
incremented for every new client connectionvoid close()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.