ConfigChanGroup

Type:

SwitchKit API message

Description

Use the SKC_ConfigChanGroup message to configure parameters for a channel group.

Sent by

SwitchManager

Configuration

ConfigChanGroup (

ChannelGroup = string,

Entity = integer,

Parameter = integer);

C Structure

typedef struct {

UBYTE Entity;

UBYTE Parameter;

char GroupName[50];

} SK_ConfigChanGroup;

C++ Class

class SKC_ConfigChanGroup : public SKC_AdminMessage {

public:

UBYTE getEntity() const;

void setEntity(UBYTE x);

UBYTE getParameter() const;

void setParameter(UBYTE x);

const char *getGroupName() const;

void setGroupName(const char *x);

};

Entity Options

Entity

0 - Allocation Pattern
Controls the order in which LLC will allocate the channels when you request a channel in a channel group.

Parameters for Allocation Pattern

Value

Allocator

Description

0 default

Round Robin

 

Begins with the first available channel, and proceeds through the group, always choosing the next available channel starting from the channel it last allocated.

1

Ascending

Always chooses the first (i.e., lowest numbered) available channel in the group.

2

Descending

Chooses the last (highest numbered) available channel in the group.

3

LRU (Least Recently Used)

Chooses the channel that has been in the idle state for the longest time.

4

MRU (Most Recently Used)

 

Chooses the channel that has been in the idle state for the shortest time.

Example

ConfigChanGroup (

ChannelGroup = "outbound",

Entity = 0,

Parameter = 1);