sk_configChannelGroup()

Description

The function sk_configChannelGroup() allows you to configure the channel allocation in the specified channel group. This function is also available as sk_configChannelGroupOnConnection() and skts_configChannelGroup.

Syntax

int sk_configChannelGroup(char *aChannelGroup, int anEntity, int aParameter);

int sk_configChannelGroupOnConnection(char *aChannelGroup, int anEntity, int aParameter, int aConID);

int skts_configChannelGroup( char *aChannelGroup, int anEntity, int aParameter, int aConID );

Parameters

The function parameters are shown in the table below.

Argument

Description

aChannelGroup

Specifies the channel group.

anEntity

Specifies the attribute to be configured. Only one is currently defined, which is Entity_Alloc, the channel allocation pattern.

aParameter

Defines the method of channel allocation:

Alloc_Round Robin

Alloc_Ascending

Alloc_Descending

Alloc_LRU (Last Recently Used)

Alloc_MRU (Most Recently Used)

aConID

aConID is a connection identifier specified at connection creation time and used to indicate which LLC an application wishes to communicate with.

Return Values

SK_BAD_PARAM

When entity is not zero or parameter is not between 0 and 4 (inclusive.)