Entire Class Index | Main Class Index | Cross Index | Global Index

# Class CL_SubChannel

Netchannel dispatcher.
Contained in: global
Derived from: none
Derived by: none
Group: Network (NetObjects)

#include <ClanLib/network.h>

### public function member index:

### Construction:

`` | `CL_SubChannel` | `(`const` `CL_SubChannel`& `copy`)`;
`` | `CL_SubChannel` | `(`int` `netchannel`)`;
``virtual`` | `~CL_SubChannel` | `()`;

### Operations:

``CL_Slot`` | `connect` | `(`int` `subchannel`, `CL_Slot_v1`<`const` `class` `CL_NetMessage`& >* `slot`)`;
``void`` | `disconnect` | `(`int` `subchannel`, `CL_Slot`& `slot`)`;

## Description:

Dispatches incoming messages on a netchannel to slots connected to the subchannel.

## Function Member Descriptions:

CL_SubChannel::CL_SubChannel - Sub Channel Constructor
`` `CL_SubChannel` `(`const` `CL_SubChannel`& `copy`)`;

CL_SubChannel::CL_SubChannel - Sub Channel Constructor
`` `CL_SubChannel` `(`int` `netchannel`)`;

CL_SubChannel::connect - Connect
``CL_Slot`` `connect` `(`int` `subchannel`, `CL_Slot_v1`<`const` `class` `CL_NetMessage`& >* `slot`)`;

CL_SubChannel::disconnect - DisConnect
``void`` `disconnect` `(`int` `subchannel`, `CL_Slot`& `slot`)`;

CL_SubChannel::~CL_SubChannel - Sub Channel Destructor
``virtual`` `~CL_SubChannel` `()`;

## Variable Member Descriptions:

CL_SubChannel::impl - Sub Channel Generic Implementation
``CL_SubChannel_Generic` *` ``impl`;`