de.mud.jta.event
public interface SocketListener extends PluginListener
Maintainer: Matthias L. Jugel
Modifier and Type | Method and Description |
---|---|
void |
connect(java.lang.String host,
int port)
Called if a connection should be established.
|
void |
disconnect()
Called if the connection should be stopped.
|
void connect(java.lang.String host, int port) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
void disconnect() throws java.io.IOException
java.io.IOException