TClientInfo Class Reference

class TClientInfo

Contains information (of interest to the TSP) about a client of RemCon. Includes the client's process ID and the client's current send message (RMessage2) which is triggering a request (AddressOutgoingCommand or PermitOutgoingCommand) on the TSP. Via the RMessage2, the TSP can access the client's secure ID and also do capability checks on the client. The process ID is also used by the server to police creation of target sessions (only 1 is allowed per client process).

Public Member Functions
TClientInfo()
~TClientInfo()
IMPORT_C RMessage2 &Message()
IMPORT_C const RMessage2 &Message()
IMPORT_C TProcessId &ProcessId()
IMPORT_C TProcessIdProcessId()
IMPORT_C TSecureIdSecureId()
IMPORT_C TSecureId &SecureId()
Public Attributes
TSglQueLink iLink
TSglQueLink iLink2
Private Attributes
RMessage2 iMessage
TProcessId iProcessId
TSecureId iSecureId

Constructor & Destructor Documentation

TClientInfo()

IMPORT_CTClientInfo()

Constructor.

~TClientInfo()

IMPORT_C~TClientInfo()

Destructor.

Member Functions Documentation

Message()

IMPORT_C RMessage2 &Message()

Accessor for message.

Message()

IMPORT_C const RMessage2 &Message()const

Accessor for the client's current Send message. This is provided for the TSP to access the client's current Send message for capability checks only. The TSP must not Complete this message. Note that this message is only valid if AddressOutgoingCommand or PermitOutgoingCommand are being used (i.e. the client currently has a Send outstanding). For AddressIncomingCommand, the message returned will be invalid and must not be used by the TSP.

ProcessId()

IMPORT_C TProcessId &ProcessId()

Accessor for process ID.

ProcessId()

IMPORT_C TProcessIdProcessId()const

Accessor for process ID.

SecureId()

IMPORT_C TSecureIdSecureId()const

Accessor for the secure ID.

SecureId()

IMPORT_C TSecureId &SecureId()

Accessor for the secure ID.

Member Data Documentation

TSglQueLink iLink

TSglQueLink iLink

Link between elements of this type in a TSglQue. If this member changes offset, remconserver must be rebuilt.

TSglQueLink iLink2

TSglQueLink iLink2

RMessage2 iMessage

RMessage2 iMessage[private]

The client's current send message.

TProcessId iProcessId

TProcessId iProcessId[private]

The process ID.

TSecureId iSecureId

TSecureId iSecureId[private]

The secure ID.