#include <file_leader_router.hh>
Public Member Functions | |
FileLeaderRouter (FileLeader *, Router *) | |
~FileLeaderRouter ()=default | |
Public Member Functions inherited from eclipse::RouterDecorator | |
RouterDecorator (Router *) | |
virtual | ~RouterDecorator ()=default |
virtual void | on_read (messages::Message *, Channel *) |
Public Member Functions inherited from eclipse::Router | |
Router ()=default | |
virtual | ~Router ()=default |
Public Member Functions inherited from eclipse::network::NetObserver | |
virtual | ~NetObserver () |
Protected Member Functions | |
void | insert_file (messages::Message *, Channel *) |
void | update_file (messages::Message *, Channel *) |
void | request_file (messages::Message *, Channel *) |
void | request_ls (messages::Message *, Channel *) |
void | delete_file (messages::Message *, Channel *) |
void | file_exist (messages::Message *, Channel *) |
void | replicate_metadata (messages::Message *, Channel *) |
void | request_format (messages::Message *, Channel *) |
Protected Attributes | |
FileLeader * | file_leader |
Protected Attributes inherited from eclipse::RouterDecorator | |
std::unique_ptr< Router > | router |
Protected Attributes inherited from eclipse::Router | |
std::map< std::string, std::function< void(messages::Message *, Channel *)> > | routing_table |
FileLeaderRouter::FileLeaderRouter | ( | FileLeader * | fl, |
Router * | router | ||
) |
|
default |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |