Channel API

PROCEDURE GetChannelByName(IN cCacheId CHAR,
                           IN chanName CHAR,
                           INOUT refChan REFERENCE);

PROCEDURE GetChannel(IN cCacheId CHAR,
                     IN id INTEGER,
                     INOUT refChan REFERENCE);

PROCEDURE GetChannelForQueue(IN cCacheId CHAR,
                             IN queueName CHAR,
                             INOUT refChan REFERENCE);

PROCEDURE GetChannelsForQueue(IN cCacheId CHAR,
                              IN queueName CHAR,
                              INOUT refChan REFERENCE);

PROCEDURE GetParticipantOutboundChannel(IN cCacheId CHAR,
                                        IN nParticipantId INTEGER,
                                        INOUT refChan REFERENCE);

FUNCTION LogPTRecord(IN refChan REFERENCE,
                    IN cCorrelScheme CHAR)
RETURNS BOOLEAN;

FUNCTION LogPTData(IN refChan REFERENCE)
RETURNS BOOLEAN;

FUNCTION LogTXNRecord(IN refChan REFERENCE,
                    IN cCorrelScheme CHAR)
RETURNS BOOLEAN;

FUNCTION IsMaster(IN refChan REFERENCE)
RETURNS BOOLEAN;