VCTSession

Definition

#include <vct.h>

typedef struct
{
    VCTMode         mode;
    u8              aid;
    u8              talking;
    u32             aidBitmap;

    VCTState        state;
    void*           userData;
} VCTSession;

Definition

mode The session mode (Telephone / Transceiver / Conference).
aid AID of a talking partner.
talking AID of terminals in conversation in Transceiver Mode.
aidBitmap Bitmap of AID of clients participating in conversation in Transceiver Mode.
state Current session status.
userData Used for storing user context.

Description

VCTSession is a structure that stores an SSP session.
One session is necessary for one conversation. Therefore, one session is necessary for Telephone and Transceiver Modes where only one party talks at a time. Multiple sessions are required in situations where multiple players talk simultaneously, such as Conference Mode. The number of necessary sessions is defined as the number of participating players minus one (X - 1 where X is the number of participating players). In case an interruption request is handled in Telephone Mode, multiple sessions are required.

The necessary number of sessions must be provided in advance using VCT_Init function.

See Also

VCT_Init, VCT_CreateSession

Revision History

2006/01/25 First release