Stormancer::RpcRequestContext< T > Class Template Reference

Public Member Functions

 RpcRequestContext (T *peer, std::weak_ptr< Scene > scene, uint16 id, bool ordered, ibytestream &inputStream, pplx::cancellation_token ct)
 
T * remotePeer ()
 
pplx::cancellation_token cancellationToken ()
 
ibytestreaminputStream ()
 
template<typename TObj >
TObj readObject ()
 
void sendValue (const StreamWriter &streamWriter, PacketPriority priority=PacketPriority::MEDIUM_PRIORITY)
 
template<typename TValue >
void sendValueTemplated (const TValue &value, PacketPriority priority=PacketPriority::MEDIUM_PRIORITY)
 
void sendError (std::string errorMsg) const
 

Friends

class RpcService
 

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