diff options
author | Vitaly Takmazov | 2018-03-26 10:13:32 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-26 10:13:32 +0300 |
commit | 5863621118700b538ab01ba3a74a0b013e1334c7 (patch) | |
tree | 437497cdb2d7c842722beff3ab86de79b5af684a /juick-server/src/main/java/com/juick/server/XMPPConnection.java | |
parent | 100e7340be63f1e78537de58332df8f09fed3faf (diff) |
server: reuse single router connection
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/XMPPConnection.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPConnection.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPConnection.java b/juick-server/src/main/java/com/juick/server/XMPPConnection.java index 69d39c18..03720a3f 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPConnection.java +++ b/juick-server/src/main/java/com/juick/server/XMPPConnection.java @@ -417,4 +417,8 @@ public class XMPPConnection implements AutoCloseable { router.close(); } } + + public ExternalComponent getRouter() { + return router; + } } |