summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h
index fe7d7b4..c4f3d6f 100644
--- a/src/network.h
+++ b/src/network.h
@@ -56,13 +56,15 @@ struct Server::Peer
PartialStorage partStorage;
vector<tuple<UUID, shared_ptr<WaitingRef>>> serviceQueue {};
+ vector<vector<uint8_t>> secureOutQueue {};
shared_ptr<erebos::Peer::Priv> lpeer = nullptr;
- void send(const struct TransportHeader &, const vector<Object> &) const;
+ void send(const struct TransportHeader &, const vector<Object> &, bool secure);
void updateIdentity(ReplyBuilder &);
void updateChannel(ReplyBuilder &);
void updateService(ReplyBuilder &);
+ void trySendOutQueue();
};
struct Peer::Priv : enable_shared_from_this<Peer::Priv>