annotate rep/ConnectButtonEvent.java @ 378:c78569ab5fce
*** empty log message ***
author |
kono |
date |
Wed, 22 Oct 2008 04:27:52 +0900 |
parents |
4fae49280699 |
children |
|
rev |
line source |
222
|
1 package rep;
|
|
2
|
|
3 public class ConnectButtonEvent implements SessionManagerEvent{
|
|
4
|
|
5 private String host;
|
|
6
|
334
|
7 public ConnectButtonEvent(String host) {
|
222
|
8 this.host = host;
|
|
9 }
|
|
10
|
|
11 public String getHost() {
|
|
12 return host;
|
|
13 }
|
|
14
|
334
|
15 public void exec(SessionManager manager) {
|
378
|
16 manager.connectSessionManager(host);
|
222
|
17 }
|
|
18
|
|
19 }
|