![]() |
Public API Reference |
#include <netman.h>
Inheritance diagram for iNetworkManager:
Public Methods | |
virtual void | RegisterConnection (iNetworkConnection *, iNetworkPacket *)=0 |
Register a connection for polling with its associated packet. More... | |
virtual void | RegisterListener (iNetworkListener *, iNetworkPacket *)=0 |
Register a listener for polling with its associated packet. More... | |
virtual bool | UnregisterEndPoint (iNetworkEndPoint *)=0 |
Unregister a connection or listener. More... | |
virtual bool | Send (iNetworkConnection *, iNetworkPacket *)=0 |
Send a packet on a connection. More... | |
virtual bool | SendToAll (iNetworkPacket *)=0 |
Send a packet to all registered connections that iNetworkPacket::FilterSocket() returns true for. More... | |
virtual void | RegisterConnectedSocket (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Register an ENSocket connection for polling with its associated packet. More... | |
virtual bool | UnregisterConnectedSocket (iNetworkSocket2 *)=0 |
Unregister an ENSocket connection. More... | |
virtual void | RegisterListeningSocket (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Register an ENSocket listener for polling with its associated packet. More... | |
virtual bool | UnregisterListeningSocket (iNetworkSocket2 *)=0 |
Unregister an ENSocket listener. More... | |
virtual bool | Send (iNetworkSocket2 *, iNetworkPacket2 *)=0 |
Send a packet on a connected ENSocket socket. More... | |
virtual bool | SendToAll (iNetworkPacket2 *)=0 |
Send a packet to all registered, connected ENSocket sockets that iNetworkPacket2::FilterSocket() returns true for. More... |
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.
|
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.
|