iFun Engine API  1.0.0-b4359
Great Technology for Great Games
Public Types | Static Public Member Functions | List of all members
fun::MulticastServer Class Reference

Public Types

typedef function< bool(const string &, const string &, const Ptr< Session > &, Json *)> JsonMessageChecker
 
typedef function< void(const string &, const string &, const SessionId &, const Json &)> JsonMessageHook
 
typedef function< bool(const string &, const string &, const Ptr< Session > &, const Ptr< FunMessage > &)> ProtobufMessageChecker
 
typedef function< void(const string &, const string &, const SessionId &, const Ptr< const FunMessage > &)> ProtobufMessageHook
 

Static Public Member Functions

static void InstallJsonMessageChecker (const JsonMessageChecker &json_message_checker)
 
static void InstallJsonMessageHook (const JsonMessageHook &hook)
 
static void InstallProtobufMessageChecker (const ProtobufMessageChecker &protobuf_message_checker)
 
static void InstallProtobufMessageHook (const ProtobufMessageHook &hook)