aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main/java/com/juick/components/controllers
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-09 15:27:48 +0300
committerGravatar Vitaly Takmazov2017-10-10 09:37:31 +0300
commit448fc7e84732422011186a9a4633c345e9c6208e (patch)
tree7ec23a9f29939fecf6456956ead6cebd1338871d /juick-xmpp/src/main/java/com/juick/components/controllers
parent443daa747298de315840cdd6ee6992519707e61a (diff)
xmpp:ConnectionOut -> StreamServerDialback
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/controllers')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java2
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/controllers/helpers/XMPPStatus.java9
2 files changed, 6 insertions, 5 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java b/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java
index 697ad04a..f20fc76a 100644
--- a/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java
+++ b/juick-xmpp/src/main/java/com/juick/components/controllers/StatusController.java
@@ -39,7 +39,7 @@ public class StatusController {
XMPPStatus status = new XMPPStatus();
if (xmpp != null) {
status.setInbound(xmpp.getInConnections());
- status.setOutbound(xmpp.getOutConnections());
+ status.setOutbound(xmpp.getOutConnections().keySet());
}
return status;
}
diff --git a/juick-xmpp/src/main/java/com/juick/components/controllers/helpers/XMPPStatus.java b/juick-xmpp/src/main/java/com/juick/components/controllers/helpers/XMPPStatus.java
index d3459049..9b5bb0d5 100644
--- a/juick-xmpp/src/main/java/com/juick/components/controllers/helpers/XMPPStatus.java
+++ b/juick-xmpp/src/main/java/com/juick/components/controllers/helpers/XMPPStatus.java
@@ -18,16 +18,17 @@
package com.juick.components.controllers.helpers;
import com.juick.components.s2s.ConnectionIn;
-import com.juick.components.s2s.ConnectionOut;
+import com.juick.components.s2s.StreamServerDialback;
import java.util.List;
+import java.util.Set;
/**
* Created by vitalyster on 16.02.2017.
*/
public class XMPPStatus {
private List<ConnectionIn> inbound;
- private List<ConnectionOut> outbound;
+ private Set<StreamServerDialback> outbound;
public List<ConnectionIn> getInbound() {
return inbound;
@@ -37,11 +38,11 @@ public class XMPPStatus {
this.inbound = inbound;
}
- public List<ConnectionOut> getOutbound() {
+ public Set<StreamServerDialback> getOutbound() {
return outbound;
}
- public void setOutbound(List<ConnectionOut> outbound) {
+ public void setOutbound(Set<StreamServerDialback> outbound) {
this.outbound = outbound;
}
}