Sirikata
Public Types | Public Member Functions | Private Attributes | Friends
Sirikata::ObjectSession Class Reference

State associated with an Object's session with the space. More...

#include <ObjectSessionManager.hpp>

Collaboration diagram for Sirikata::ObjectSession:

List of all members.

Public Types

typedef ODPSST::Stream SSTStream
typedef SSTStream::Ptr SSTStreamPtr

Public Member Functions

 ObjectSession (const ObjectReference &objid)
 ~ObjectSession ()
const ObjectReferenceid () const
SSTStreamPtr getStream () const
SeqNoPtr getSeqNoPtr () const

Private Attributes

ObjectReference mID
SSTStreamPtr mSSTStream
SeqNoPtr mSeqNo

Friends

class ObjectSessionManager

Detailed Description

State associated with an Object's session with the space.

While the state can be accessed from other threads, the ObjectSession is managed and destroyed by the main thread so any data that needs to be accessed by other threads should be extracted while in the main strand (e.g. on an ObjectSessionListener::newSession callback).


Member Typedef Documentation


Constructor & Destructor Documentation

Sirikata::ObjectSession::ObjectSession ( const ObjectReference objid) [inline]
Sirikata::ObjectSession::~ObjectSession ( ) [inline]

Member Function Documentation

SeqNoPtr Sirikata::ObjectSession::getSeqNoPtr ( ) const [inline]
SSTStreamPtr Sirikata::ObjectSession::getStream ( ) const [inline]
const ObjectReference& Sirikata::ObjectSession::id ( ) const [inline]

Friends And Related Function Documentation

friend class ObjectSessionManager [friend]

Member Data Documentation


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