Mercurial > hg > RemoteEditor > REPSessionManager
annotate rep/ConnectionEvent.java @ 191:dbf59f82273e
*** empty log message ***
author | pin |
---|---|
date | Fri, 29 Aug 2008 18:52:36 +0900 |
parents | a097b1d619a1 |
children |
rev | line source |
---|---|
2 | 1 package rep; |
2 | |
178 | 3 public class ConnectionEvent implements SessionManagerEvent{ |
2 | 4 |
5 private String host; | |
178 | 6 private SessionManager manager; |
2 | 7 |
178 | 8 public ConnectionEvent(SessionManager manager, String host) { |
9 this.manager = manager; | |
2 | 10 this.host = host; |
11 } | |
12 | |
13 public String getHost() { | |
14 return host; | |
15 } | |
16 | |
178 | 17 public void exec() { |
18 manager.connectSession(host); | |
19 } | |
20 | |
2 | 21 } |