Sirikata
|
State associated with an Object's session with the space. More...
#include <ObjectSessionManager.hpp>
Public Types | |
typedef ODPSST::Stream | SSTStream |
typedef SSTStream::Ptr | SSTStreamPtr |
Public Member Functions | |
ObjectSession (const ObjectReference &objid) | |
~ObjectSession () | |
const ObjectReference & | id () const |
SSTStreamPtr | getStream () const |
SeqNoPtr | getSeqNoPtr () const |
Private Attributes | |
ObjectReference | mID |
SSTStreamPtr | mSSTStream |
SeqNoPtr | mSeqNo |
Friends | |
class | ObjectSessionManager |
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).
Sirikata::ObjectSession::ObjectSession | ( | const ObjectReference & | objid | ) | [inline] |
Sirikata::ObjectSession::~ObjectSession | ( | ) | [inline] |
SeqNoPtr Sirikata::ObjectSession::getSeqNoPtr | ( | ) | const [inline] |
SSTStreamPtr Sirikata::ObjectSession::getStream | ( | ) | const [inline] |
const ObjectReference& Sirikata::ObjectSession::id | ( | ) | const [inline] |
friend class ObjectSessionManager [friend] |
ObjectReference Sirikata::ObjectSession::mID [private] |
SeqNoPtr Sirikata::ObjectSession::mSeqNo [private] |
Referenced by Sirikata::ObjectSessionManager::completeSession().