|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Modules must implement this interface to be detected as valid modules
Method Summary | |
void |
connect(java.lang.String host,
int port)
Connected to the remote host. |
void |
disconnect()
Disconnect from the host. |
java.lang.String |
receive(java.lang.String s)
Receive data from somewhere. |
void |
setLoader(java.lang.Object loader)
Set the loader of the module. |
Method Detail |
public void setLoader(java.lang.Object loader)
loader
- The object that has loaded this module.public void connect(java.lang.String host, int port)
host
- remote hostnameport
- remote portpublic void disconnect()
public java.lang.String receive(java.lang.String s)
s
- The string we receive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |