Stormancer::IP2PScenePeer Class Referenceabstract

Inherits Stormancer::IScenePeer.

Public Member Functions

virtual pplx::task< std::shared_ptr< P2PTunnel > > openP2PTunnel (const std::string &serverId, pplx::cancellation_token ct=pplx::cancellation_token::none())=0
virtual std::string sessionId () const =0
- Public Member Functions inherited from Stormancer::IScenePeer
virtual std::string id () const =0
virtual byte handle () const =0
 Returns the scene handle.
virtual std::string getSceneId () const =0
virtual std::shared_ptr< IConnectionconnection () const =0
virtual const std::unordered_map< std::string, Route_ptr > & routes () const =0
virtual void send (const std::string &routeName, const StreamWriter &streamWriter, PacketPriority priority=PacketPriority::MEDIUM_PRIORITY, PacketReliability reliability=PacketReliability::RELIABLE_ORDERED, const std::string &channelIdentifier="")=0
virtual pplx::task< void > disconnect (pplx::cancellation_token ct=pplx::cancellation_token::none())=0

The documentation for this class was generated from the following file:
  • stormancer/stormancer-sources/include/public/stormancer/P2P/IP2PScenePeer.h