|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface IOTransport
The Interface IOTransport.
Method Summary | |
---|---|
boolean |
canSendBulk()
return true if the IOTransport prefers to send multiple messages at a time. |
void |
connect()
Instructs the IOTransport to connect. |
void |
disconnect()
Instructs the IOTransport to disconnect. |
java.lang.String |
getName()
|
void |
invalidate()
Instructs the IOTransport to invalidate. |
void |
send(java.lang.String text)
Instructs the IOTransport to send a Message |
void |
sendBulk(java.lang.String[] texts)
Instructs the IOTransport to send multiple messages. |
Method Detail |
---|
void connect()
void disconnect()
void send(java.lang.String text) throws java.lang.Exception
text
- the text to be sent
java.io.IOException
- Signals that an I/O exception has occurred.
java.lang.Exception
boolean canSendBulk()
void sendBulk(java.lang.String[] texts) throws java.io.IOException
texts
- the texts
java.io.IOException
- Signals that an I/O exception has occurred.void invalidate()
IOConnection
java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |