| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.comm.SocketBasedConnection<TelnetMessage>
edu.cuny.cat.comm.TelnetConnection
public class TelnetConnection
A connection on the cat game server side to a telnet client.
| Field Summary | 
|---|
| Fields inherited from class edu.cuny.cat.comm.SocketBasedConnection | 
|---|
BUFFER_SIZE, readBuffer, skipLF, socketChannel | 
| Constructor Summary | |
|---|---|
TelnetConnection(java.nio.channels.SocketChannel socketChannel)
 | 
|
| Method Summary | |
|---|---|
 TelnetMessage | 
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 TelnetConnection(java.nio.channels.SocketChannel socketChannel)
| Method Detail | 
|---|
public TelnetMessage getMessage()
                         throws CatException
ProactiveConnectionMessage 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 | ||||||||