|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
M
- the type of messages that can be transmitted through the connection.public interface ProactiveConnection<M extends Message>
A proactive Message
I/O interface for a plain-text message client or
server to communicate with its peers, which need proactively retrieve
messages from the communication channel.
Note that here proactive means this connection should be accessed proactively rather than reactively.
ReactiveConnection
Method Summary | |
---|---|
M |
getMessage()
reads a Message from this connection. |
Methods inherited from interface edu.cuny.cat.comm.Connection |
---|
close, getLocalAddressInfo, getRemoteAddressInfo, isClosed, open, sendMessage |
Method Detail |
---|
M getMessage() throws CatException
Message
from this connection. It blocks if no messages are
available.
MessageException
CatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |