ClientState

Passed to the C3POServer during UI modification operations. The C3PO can call back through this interface to discover UI contextual information. ClientState serves as the base class for client-specific subclasses. The GroupWise client issues the GWClientState object as the specific ClientState derivative. Other clients have their own subclasses. A C3PO should never assume a specific ClientState subclass. Rather, the ClientName, MajorVersion, and MinorVersion properties should be checked to identify the appropriate ClientState subclass.

Properties

The following table lists the properties for this class, along with access and descriptions.

Property

Access

Description

CallDescription

R/O

String. An optional description of why the Dial command is being called

CalledPhoneNumbers

R/O

Object. A list of called phone numbers, if the event being handled is a Dial event.

ClientName

R/O

String. The name of the C3PO client. Because each C3PO client typically provides a subclass of the ClientState object, the ClientName, MajorVersion, and MinorVersion are used to differentiate them. The ClientName is assumed to be non-translatable and alike for all versions of a client.

CurrentAccount

R/O

Object. Returns account object that represents the currently selected account in the client.

MajorVersion

R/O

Long. The major version number for the client.

MinorVersion

R/O

Long. The minor version number for the client.

Methods

GWCommand BuildCommand( String Context, String PersistentID, GWCommand BaseCommand, Parameters parms )
String BuildPersistentID( long ID, [variant ObjFrom] )
PresenceUpdated(DIGWPresence2 *pDispPresence)

Remarks

None.