|
virtual | ~IDiarkisSession () |
| Destructor of IDiarkisSession. More...
|
|
virtual void | SetLoggerFactory (const std::shared_ptr< IDiarkisLoggerFactory > &loggerFactory, const Diarkis::StdString &loggerNameSuffix)=0 |
| Register a logger. More...
|
|
virtual bool | SetupAsTcp (std::shared_ptr< IDiarkisTcp > tcp)=0 |
| Set up Session as a TCP protocol. More...
|
|
virtual bool | SetupAsUdp (std::shared_ptr< IDiarkisUdp > udp)=0 |
| Set up Session as a UDP protocol. More...
|
|
virtual bool | SetTcp (std::shared_ptr< IDiarkisTcp > tcp)=0 |
| Set IDiarkisTcp class. More...
|
|
virtual bool | SetUdp (std::shared_ptr< IDiarkisUdp > udp)=0 |
| Set IDiarkisUdp class. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionCreateResponseEventArgs & > > | GetCreateResponseEvent ()=0 |
| Get the callback event called when a Session is created. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionInviteEventArgs & > > | GetInviteEvent ()=0 |
| Get callback event for receiving Session Invite. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionNotificationEventArgs & > > | GetJoinEvent ()=0 |
| Get the callback event called when another member joins the Session. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionNotificationEventArgs & > > | GetBroadcastEvent ()=0 |
| Get the callback event called when a broadcast message is received. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionNotificationEventArgs & > > | GetMessageToEvent ()=0 |
| Get the callback event called when a Session MessageTo is received. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionNotificationEventArgs & > > | GetLeaveEvent ()=0 |
| Get the callback event called when a member leaves a Session. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionInfoEventArgs & > > | GetSessionInfoEvent ()=0 |
| Called when a Session info response is received.
. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionNotificationEventArgs & > > | GetKickEvent ()=0 |
| Get the callback event when a push is received from the server to a Session kick. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetInviteResponseEvent ()=0 |
| Get the callback event when a response is received from the server to a Session invitation. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetKickResponseEvent ()=0 |
| Get the callback event when a response is received from the server to a Session kick. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetJoinResponseEvent ()=0 |
| Get the callback event when a response is received from the server for joining a Session. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetBroadcastResponseEvent ()=0 |
| Get callback event when a server response to Broadcast is received. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetMessageToResponseEvent ()=0 |
| Get callback event when a server response to MessageTo is received. More...
|
|
virtual std::shared_ptr< IDiarkisEvent< const DiarkisSessionResponseEventArgs & > > | GetLeaveResponseEvent ()=0 |
| Get callback event when a server response to Leave is received. More...
|
|
virtual Diarkis::System::Result | SendCreate (uint8_t sessionType, uint8_t maxMembers, uint8_t ttl)=0 |
| Create a new Session. More...
|
|
virtual Diarkis::System::Result | SendInvite (const char **uids, size_t uidsCount, uint8_t sessionType)=0 |
| Invite a user to the Session they are currently in. More...
|
|
virtual Diarkis::System::Result | SendInvite (const Diarkis::StdVector< Diarkis::StdString > &uids, uint8_t sessionType)=0 |
| Same as SendInvite(const char**, size_t, uint8_t) More...
|
|
virtual Diarkis::System::Result | SendInvite (const char **uids, size_t uidsCount, uint8_t sessionType, const uint8_t *message, size_t messageSize)=0 |
| Invite a user to the Session they are currently in. More...
|
|
virtual Diarkis::System::Result | SendInvite (const Diarkis::StdVector< Diarkis::StdString > &uids, uint8_t sessionType, const Diarkis::StdVector< uint8_t > &message)=0 |
| Same as SendInvite(const char**, size_t, uint8_t, const uint8_t*, size_t) More...
|
|
virtual Diarkis::System::Result | SendBroadcast (uint8_t sessionType, const uint8_t *message, size_t messageSize)=0 |
| Broadcast a message. More...
|
|
virtual Diarkis::System::Result | SendBroadcast (uint8_t sessionType, const Diarkis::StdVector< uint8_t > &message)=0 |
| Same as SendBroadcast() More...
|
|
virtual Diarkis::System::Result | SendMessageTo (uint8_t sessionType, const char **uids, size_t uidsCount, const uint8_t *message, size_t messageSize)=0 |
| Send a message to particular members. More...
|
|
virtual Diarkis::System::Result | SendMessageTo (uint8_t sessionType, const Diarkis::StdVector< Diarkis::StdString > &memberIDs, const Diarkis::StdVector< uint8_t > &message)=0 |
| Same as SendMessageTo() More...
|
|
virtual Diarkis::System::Result | SendJoin (uint8_t sessionType, const char *sessionID)=0 |
| Join a Session. More...
|
|
virtual Diarkis::System::Result | SendJoin (uint8_t sessionType, const Diarkis::StdString &sessionID)=0 |
| Same as SendJoin() More...
|
|
virtual Diarkis::System::Result | SendLeave (uint8_t sessionType)=0 |
| Leave a Session. More...
|
|
virtual Diarkis::System::Result | SendKick (uint8_t sessionType, const Diarkis::StdString &userID)=0 |
| Kick a Session member. More...
|
|
virtual Diarkis::System::Result | SendKick (uint8_t sessionType, const char *userID)=0 |
| Same as SendKick() More...
|
|
virtual Diarkis::System::Result | SendGetSessionInfoBySessionType (uint8_t sessionType)=0 |
| Raises OnSessionInfo event and retrieves information of the Session. More...
|
|
virtual Diarkis::System::Result | SendGetSessionInfoBySessionID (const char *sessionID)=0 |
| Raises OnSessionInfo event and retrieves information of the Session. More...
|
|
virtual Diarkis::System::Result | SendGetSessionInfoBySessionID (const Diarkis::StdString &sessionID)=0 |
| Same as SendGetSessionInfoBySessionID() More...
|
|
virtual Diarkis::StdString | GetSessionIDByType (uint8_t sessionType) const =0 |
| Get the Session ID of the Session in which you are participating. More...
|
|
virtual bool | HasSession (uint8_t sessionType) const =0 |
| Check if you are joining at least one Session. More...
|
|
virtual void | SetUID (const char *userID)=0 |
| Set user ID. More...
|
|
virtual void | SetUID (const Diarkis::StdString &userID)=0 |
| Same as SetUID() More...
|
|
virtual Diarkis::StdString | GetUID () const =0 |
| Get user ID. More...
|
|
Interface class for Session function.