|
Ring Daemon
|
This class offers to a ChannelSocket the possibility to interact with a Git repository. More...
#include <gitserver.h>

Classes | |
| class | Impl |
Public Member Functions | |
| GitServer (const std::string &accountId, const std::string &conversationId, const std::shared_ptr< dhtnet::ChannelSocket > &client) | |
| Serve a conversation to a remote client This client will be able to fetch commits/clone the repository. | |
| void | setOnFetched (const onFetchedCb &cb) |
| Add a callback which will be triggered when the peer gets the data. | |
| void | stop () |
| Stopping a GitServer will shut the channel down. | |
| ~GitServer () | |
This class offers to a ChannelSocket the possibility to interact with a Git repository.
Definition at line 37 of file gitserver.h.
| jami::GitServer::GitServer | ( | const std::string & | accountId, |
| const std::string & | conversationId, | ||
| const std::shared_ptr< dhtnet::ChannelSocket > & | client | ||
| ) |
Serve a conversation to a remote client This client will be able to fetch commits/clone the repository.
| accountId | Account related to the conversation |
| conversationId | Conversation's id |
| client | The client to serve |
Definition at line 584 of file gitserver.cpp.
References jami::emitSignal(), and jami::fileutils::get_data_dir().

| jami::GitServer::~GitServer | ( | ) |
Definition at line 592 of file gitserver.cpp.
References stop().

| void jami::GitServer::setOnFetched | ( | const onFetchedCb & | cb | ) |
Add a callback which will be triggered when the peer gets the data.
| cb |
Definition at line 599 of file gitserver.cpp.
References jami::emitSignal().

| void jami::GitServer::stop | ( | ) |
Stopping a GitServer will shut the channel down.
Definition at line 607 of file gitserver.cpp.
Referenced by ~GitServer().