|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.cat.comm.SocketBasedConnection<CatpMessage>
edu.cuny.cat.comm.SocketBasedCatpConnection
public class SocketBasedCatpConnection
The implementation of Connection
when
SocketBasedInfrastructureImpl
is used.
Field Summary |
---|
Fields inherited from class edu.cuny.cat.comm.SocketBasedConnection |
---|
BUFFER_SIZE, readBuffer, skipLF, socketChannel |
Constructor Summary | |
---|---|
SocketBasedCatpConnection(java.nio.channels.SocketChannel socketChannel)
|
Method Summary | |
---|---|
CatpMessage |
getMessage()
reads a Message from this connection. |
Methods inherited from class edu.cuny.cat.comm.SocketBasedConnection |
---|
close, getLocalAddressInfo, getRemoteAddressInfo, initBuffer, isClosed, open, readLine, sendMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketBasedCatpConnection(java.nio.channels.SocketChannel socketChannel)
Method Detail |
---|
public CatpMessage getMessage() throws CatException
ProactiveConnection
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 |