de.mud.jta.event
Interface SocketListener
- PluginListener
- Socket, Timeout
public interface SocketListener
The socket listener should be implemented by plugins that want to know
when the whole systems connects or disconnects.
Maintainer: Matthias L. Jugel
$Id: SocketListener.java 499 2005-09-29 08:24:54Z leo $- Matthias L. Jugel, Marcus Mei???ner
void | connect(String host, int port) - Called if a connection should be established.
|
void | disconnect() - Called if the connection should be stopped.
|
connect
public void connect(String host,
int port)
throws UnknownHostException,
IOException
Called if a connection should be established.
disconnect
public void disconnect()
throws IOException
Called if the connection should be stopped.