1 | TelnetSubTask createRead() {↵ | | 1 | RExecSubTask createRead() {↵
|
2 | TelnetSubTask task = (TelnetSubTask) new TelnetRead();↵ | | 2 | RExecSubTask task = (RExecSubTask) new RExecRead();↵
|
3 | telnetTasks.addElement(task);↵ | | 3 | rexecTasks.addElement(task);↵
|
4 | return task;↵ | | 4 | return task;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Add text to send to the server↵ | | 7 | * Add text to send to the server↵
|
8 | * A subTask <write> tag was found. Create the object,↵ | | 8 | * A subTask <write> tag was found. Create the object,↵
|
9 | * Save it in our list, and return it.↵ | | 9 | * Save it in our list, and return it.↵
|
10 | * @return a write telnet sub task↵ | | 10 | * @return a write sub task↵
|
11 | */↵ | | 11 | */↵
|
12 | public TelnetSubTask createWrite() {↵ | | 12 | public RExecSubTask createWrite() {↵
|
13 | TelnetSubTask task = (TelnetSubTask) new TelnetWrite();↵ | | 13 | RExecSubTask task = (RExecSubTask) new RExecWrite();↵
|
14 | telnetTasks.addElement(task);↵ | | 14 | rexecTasks.addElement(task);↵
|
15 | return task;↵ | | 15 | return task;↵
|
16 | | | 16 |
|