All Classes Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
Glympse::ICardMember Struct Referenceabstract

Exposes basic properties of a card member. More...

#include <ICardMember.h>

Inheritance diagram for Glympse::ICardMember:
Inheritance graph
[legend]

Public Member Functions

virtual bool isSelf ()=0
 
virtual GCardMemberDescriptor getInviter ()=0
 
virtual GString getInviteId ()=0
 
virtual GCardTicket getTicket ()=0
 
virtual GCardTicket getRequest ()=0
 
virtual GCardMemberState getState ()=0
 
virtual int64 getCreatedTime ()=0
 
virtual int64 getLastModifiedTime ()=0
 
- Public Member Functions inherited from Glympse::IEventSink
virtual bool addListener (const GEventListener &eventListener)=0
 Registeres event listener on the sink. More...
 
virtual bool removeListener (const GEventListener &eventListener)=0
 Unsubscribes listener from events coming from this sink.
 
virtual GArray< GEventListener >
::ptr 
getListeners ()=0
 Provides access to the collection of current listeners. More...
 
virtual bool hasContext (int64 key)=0
 Checks, where user context identified by key is already associated with the object.
 
virtual void associateContext (int64 key, const GCommonObj &value)=0
 Associates specific context (user data) with the sink. More...
 
virtual GCommonObj getContext (int64 key)=0
 Returns context associated with the sink, or NULL, if it is not found.
 
virtual void clearContext (int64 key)=0
 Clears context identified by key argument.
 
virtual GEnumeration< GLong >::ptr getContextKeys ()=0
 Gets enumeration of all context keys associated with the sink.
 
virtual void deriveContext (const GEventSink &sink)=0
 Derives context from another sink object.
 
- Public Member Functions inherited from Glympse::IEventListener
virtual void eventsOccurred (const GGlympse &glympse, int32 listener, int32 events, const GCommonObj &obj)=0
 This method is invoked each time, when sink object notifies subscriber on an event. More...
 
- Public Member Functions inherited from Glympse::ICommon
virtual int32 retain ()=0
 Add a reference to our object in a COM-like way.
 
virtual int32 release ()=0
 Release a reference to our object in a COM-like way.
 
virtual int32 hold ()=0
 Add a reference to our object in a COM-like way.
 
virtual int32 unhold ()=0
 Release a reference to our object in a COM-like way.
 
virtual int32 hashCode ()=0
 Returns an integer hash code for this object.
 
virtual bool equals (const GCommonObj &o)=0
 Compares this instance with the specified object and indicates if they are equal. More...
 
virtual GString toString ()=0
 Returns a string containing a concise, human-readable description of this object. More...
 
virtual void attachObject (const GCommon &obj)=0
 Asociates arbitrary object with the instance.
 
virtual GCommon extractObject ()=0
 Extracts associated object or NULL if no association is established.
 
- Public Member Functions inherited from Glympse::ICardMemberDescriptor
virtual GString getId ()=0
 Get the unique card member identifier. More...
 
virtual GString getUserId ()=0
 Get the glympse user id. More...
 
virtual GString getCardId ()=0
 Get the card id that this member belongs to. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Glympse::ICommon
virtual ~ICommon ()
 Destructor is protected to deny explicit object deallocation. More...
 

Detailed Description

Exposes basic properties of a card member.

Member Function Documentation

virtual int64 Glympse::ICardMember::getCreatedTime ( )
pure virtual
Returns
creation time Epoch(ms)
virtual GString Glympse::ICardMember::getInviteId ( )
pure virtual
Returns
ID of the invite used to join the card or null if alternative method was used to add this member.
virtual GCardMemberDescriptor Glympse::ICardMember::getInviter ( )
pure virtual
Returns
Information on who invited this member to the card. null if this was the first card member.
virtual int64 Glympse::ICardMember::getLastModifiedTime ( )
pure virtual
Returns
last modified time Epoch(ms)
virtual GCardTicket Glympse::ICardMember::getRequest ( )
pure virtual
Returns
CardTicket that the member is requesting to the card. null if not currently requesting.
virtual GCardMemberState Glympse::ICardMember::getState ( )
pure virtual
Returns
current card member state.
virtual GCardTicket Glympse::ICardMember::getTicket ( )
pure virtual
Returns
CardTicket that the member is sharing to the card. null if not currently sharing.
virtual bool Glympse::ICardMember::isSelf ( )
pure virtual
Returns
true if this member is the self member in a card.

The documentation for this struct was generated from the following file: