Main Page | Class Hierarchy | Class Members | Global Enums and Constants | Global Entry Points | Related Pages

IAccCustomSession Interface Reference

Inherits IAccSecondarySession.


Detailed Description

IAccCustomSession is used for managing secondary sessions created by third parties.

Public Types

Public Member Functions


Member Typedef Documentation

Modes of operation for a custom session.

Properties for the Property method.


Member Enumeration Documentation

Modes of operation for a custom session.

Enumerator:
AccCustomSessionMode_OfferAnswer  Basic data exchange; the session then is ends or is conducted out of band.
AccCustomSessionMode_Streams  A reliable connection to the other user, without any framing.
AccCustomSessionMode_Message  Reliable message-based communication, using a framing protocol.

Properties for the Property method.

Enumerator:
AccCustomSessionProp_Uuid  The id for this kind of session; see IAccSession::AddCapabilities [get] xp_str*
AccCustomSessionProp_Mode  The mode of operation for this session, from AccCustomSessionMode [get] AccCustomSessionMode* [put] AccCustomSessionMode
AccCustomSessionProp_InvitationData  Optional data sent with invitation [get] IAccIm** [put] IAccIm*


Member Function Documentation

HRESULT IAccCustomSession::SendData ( [in] xp_kstr  toName,
[in] xp_int  streamId,
[in] IAccIm im 
)

In offer-answer or framed mode, sends a message to the specified user.

HRESULT IAccCustomSession::GetStream ( [in] xp_kstr  reserved,
[in] xp_int  streamId,
[out] IAccStream **  pp 
)

In streams mode, gets a reliable stream to the remote user.


Questions? Stop by the AIM SDK Developer Forum
Created Mon Nov 10 09:21:16 2008 for AIM: Developer SDK
© 2008 AOL LLC. All Rights Reserved.