Stormancer::Route Class Reference

Represents a route on a scene. More...

#include <Route.h>

Public Member Functions

 Route (const std::string &routeName, uint16 handle, MessageOriginFilter filter, std::unordered_map< std::string, std::string > metadata, DispatchMethod dispatchMethod=DispatchMethod::ActionDispatcher)
const std::string & name () const
uint16 handle () const
const std::unordered_map< std::string, std::string > & metadata () const
void setHandle (uint16 newHandle)
MessageOriginFilter filter () const
DispatchMethod dispatchMethod () const

Public Attributes

std::list< std::function< void(std::shared_ptr< Packet< IConnection >>)> > handlers

Detailed Description

Represents a route on a scene.

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