1 | void setRequestData(String newRequestData) {↵ | | 1 | void setMessageChoice(String choice) {↵
|
2 | this.setProperty(REQUEST, newRequestData);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
| | | 3 | MESSAGE_CHOICE, choice);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * return the source of the message↵
|
| | | 7 | * ↵
|
| | | 8 | */↵
|
4 | public String getRequestData() {↵ | | 9 | public String getMessageChoice() {↵
|
5 | return getPropertyAsString(REQUEST);↵ | | 10 | return getPropertyAsString(↵
|
6 | }↵ | | |
|
| | | 11 | MESSAGE_CHOICE);↵
|
| | | 12 | }↵
|
|
| | | 13 | /**↵
|
| | | 14 | * set the input file for the publisher↵
|
| | | 15 | * ↵
|
| | | 16 | * @param file↵
|
| | | 17 | */↵
|
7 | public void setTimeout(String newTimeout) {↵ | | 18 | public void setInputFile(String file) {↵
|
8 | this.setProperty(FILENAME, newTimeout);↵ | | 19 | setProperty(INPUT_FILE, file);↵
|
9 | } | | 20 | }
|