01: package dalma.endpoints.irc;
02:
03: import f00f.net.irc.martyr.IRCConnection;
04: import f00f.net.irc.martyr.services.AutoReconnect;
05:
06: /**
07: * {@link AutoReconnect} that remembers the server name and the port.
08: * @author Kohsuke Kawaguchi
09: */
10: final class AutoReconnectEx extends AutoReconnect {
11: private final String ircServer;
12: private final int port;
13:
14: public AutoReconnectEx(IRCConnection connection, String ircServer,
15: int port) {
16: super (connection);
17: this .ircServer = ircServer;
18: this .port = port;
19: }
20:
21: public void go() {
22: super.go(ircServer, port);
23: }
24: }
|