From fd89a5e5a5b8274aa243cc7fae5bcbb1f8f5cb40 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 8 May 2019 09:24:23 +0200 Subject: [PATCH] Add StreamHost.toString() --- .../smackx/bytestreams/socks5/packet/Bytestream.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/packet/Bytestream.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/packet/Bytestream.java index 0ea6019af..8e31b4f18 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/packet/Bytestream.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/packet/Bytestream.java @@ -337,6 +337,11 @@ public class Bytestream extends IQ { xml.closeEmptyElement(); return xml; } + + @Override + public String toString() { + return "SOCKS5 Stream Host: " + jid + "[" + address + ":" + port + "]"; + } } /**