|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
CatpInfrastructure | The top-level class for exceptions that occurs during communication in JCAT. |
ClientConnector<M extends Message> |
Defines how a client establishes a Connection to a server. |
Connection<M extends Message> |
A Message I/O interface for a text message client or server to
communicate with its counterpart. |
ConnectionListener<M extends Message> |
The listener interface for receiving messages from a
ListenableConnection . |
Connector |
Defines how a client or server operates with a Connection . |
Infrastructure<M extends Message> | The interface representing a communication infrastructure on which a client can connect to a listening server and communicates. |
MessageHandler<M extends Message> | The handler interface for processing messages that are received. |
ProactiveCatpConnection | Defines a ProactiveConnection that transmits CatpMessage s. |
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. |
ReactiveCatpConnection | Defines a ReactiveConnection that transmits CatpMessage s. |
ReactiveConnection<M extends Message> |
A reactive CatpMessage I/O interface for a catp client or server to
communicate with other game players. |
ServerConnector<M extends Message> |
Defines how a server listens and establishes Connection s from
clients. |
Class Summary | |
---|---|
CallBasedCatpClientConnector |
The implementation of ClientConnector when
CallBasedInfrastructureImpl is used. |
CallBasedCatpConnection |
The implementation of Connection when
CallBasedInfrastructureImpl is used. |
CallBasedCatpServerConnector |
The implementation of ServerConnector when
CallBasedInfrastructureImpl is used. |
CallBasedInfrastructureImpl | The class implements a method-invocation-based infrastructure for catp. |
CatpMessage | provides constant values used in catp messages and utility functions helpful to compose a catp message. |
CatpProactiveSession | This class processes a request/response session initiated by the current party. |
CatpReactiveSession | This class processes a request/response session initiated by the other party over a capt connection. |
CatpRequest | represents a catp request message. |
CatpResponse | represents a catp response message. |
ListenableConnection<M extends Message> |
The class wraps the usual querying-based Connection to support
actively pushing Message to a listener. |
Message | An abstract class representing a plain-text message. |
QueueBasedCatpClientConnector |
The implementation of ClientConnector when
QueueBasedInfrastructureImpl is used. |
QueueBasedCatpConnection |
The implementation of Connection when
QueueBasedInfrastructureImpl is used. |
QueueBasedCatpServerConnector |
The implementation of ServerConnector when
QueueBasedInfrastructureImpl is used. |
QueueBasedInfrastructureImpl | The class implements a queue-based message-passing infrastructure for catp. |
Session<M extends Message> | This class represents a communication session. |
SocketBasedCatpClientConnector |
The implementation of ClientConnector when
SocketBasedInfrastructureImpl is used. |
SocketBasedCatpConnection |
The implementation of Connection when
SocketBasedInfrastructureImpl is used. |
SocketBasedCatpServerConnector |
The implementation of ServerConnector when
SocketBasedInfrastructureImpl is used. |
SocketBasedConnection<M extends Message> |
An abstract implementation of Connection when the communication is
socket-based. |
SocketBasedInfrastructureImpl | The class implements a socket-based infrastructure for catp. |
TelnetConnection | A connection on the cat game server side to a telnet client. |
TelnetMessage | represents a message that is transmitted through telnet. |
TelnetServerConnector | An implementation of a simple telnet-oriented server connector. |
TimableCatpProactiveSession | This class processes a time-sensitive request/response session initiated by the current party. |
Exception Summary | |
---|---|
CatException | The top-level class for exceptions that occurs during communication in JCAT. |
CatpMessageErrorException | This exception occurs when the message under processing is erroneous. |
CatpMessageException | This exception occurs when something is wrong during message processing. |
CatpMessageInvalidException | This exception occurs when the message under processing is invalid. |
CatpServerUnavailableException | This exception throws when a catp server cannot be reached. |
ConnectionClosedException |
This exception occurs after an attempt to read from or write to a closed
Connection . |
ConnectionException |
This generic exception class for any exception relating to Connection
. |
MessageException | The generic exception class relating to plain text-based communication in JCAT. |
UnexpectedCatpMessageException | This exception occurs when the message under processing arrives at a wrong time but it may be correct in terms of syntax. |
Classes for communication according to cat protocol.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |