iNetworkManager Struct Reference
The network manager polls for incoming data on connections registered with it and new connections on listeners registered with it. More...
#include <netman.h>
Inheritance diagram for iNetworkManager:

Public Methods | |
virtual void | RegisterConnection (iNetworkConnection *, iNetworkPacket *)=0 |
Register a connection for polling with its associated packet. | |
virtual void | RegisterListener (iNetworkListener *, iNetworkPacket *)=0 |
Register a listener for polling with its associated packet. | |
virtual bool | UnregisterEndPoint (iNetworkEndPoint *)=0 |
Unregister a connection or listener. | |
virtual bool | Send (iNetworkConnection *, iNetworkPacket *)=0 |
Send a packet on a connection. | |
virtual bool | SendToAll (iNetworkPacket *)=0 |
Send a packet to all registered connections that iNetworkPacket::FilterSocket() returns true for. | |
virtual void | RegisterConnectedSocket (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Register an ENSocket connection for polling with its associated packet. | |
virtual bool | UnregisterConnectedSocket (iNetworkSocket2 *)=0 |
Unregister an ENSocket connection. | |
virtual void | RegisterListeningSocket (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Register an ENSocket listener for polling with its associated packet. | |
virtual bool | UnregisterListeningSocket (iNetworkSocket2 *)=0 |
Unregister an ENSocket listener. | |
virtual bool | Send (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Send a packet on a connected ENSocket socket. | |
virtual bool | SendToAll (iNetworkPacket2 *)=0 |
Send a packet to all registered, connected ENSocket sockets that iNetworkPacket2::FilterSocket() returns true for. |
Detailed Description
The network manager polls for incoming data on connections registered with it and new connections on listeners registered with it.If data is waiting, it is added to the buffer of the packet associated with the connection. Once a packet is full, a network event is posted on the queue for the appliction to pick up. The event type is csevNetwork and event.Command.Info is a pointer to the packet where the data was stored.
Definition at line 125 of file netman.h.
Member Function Documentation
|
Register an ENSocket connection for polling with its associated packet.
|
|
Register a connection for polling with its associated packet.
|
|
Register a listener for polling with its associated packet.
|
|
Register an ENSocket listener for polling with its associated packet.
|
|
Send a packet on a connected ENSocket socket.
|
|
Send a packet on a connection.
|
|
Send a packet to all registered, connected ENSocket sockets that iNetworkPacket2::FilterSocket() returns true for.
|
|
Send a packet to all registered connections that iNetworkPacket::FilterSocket() returns true for.
|
|
Unregister an ENSocket connection.
|
|
Unregister a connection or listener.
|
|
Unregister an ENSocket listener.
|
The documentation for this struct was generated from the following file:
- inetwork/netman.h
Generated for Crystal Space by doxygen 1.2.18