|
|
Connection is an abstract class that provides an interface for sending Packets and receiving Packets. A subclass must provide a sendPacket() method, and must call distributePacket() whenever a packet arrives.
static const char [] |
For logging.
|
Constructor.
~ |
[virtual]
Destructor.
void |
[pure virtual]
Send a packet.
String |
[virtual]
Get the name of the host at the other end of the connection.
void |
[virtual]
void |
[virtual]
"listener"'s receivePacket() method will be called whenever a packet is received which has a type of "type". Only one listener at a time can be installed for a given "type".
PacketListener* |
[virtual]
Remove the PacketListener for "type".
void |
[protected virtual]
distributePacket() finds the PacketListener for this type of Packet and calls its receivePacket() method.
Generated by: rusty@irem on Mon Sep 18 18:07:52 2000, using kdoc 2.0a36. |