我正在使用smack API实现Android XMPP客户端,当debuggig我已经实现了以下日志。这是否意味着所有流都转发给us.army.mil主机?
stream:stream to =“us.army.mil”xmlns
日志
12-30 10:21:25.622: D/MemorizingTrustManager(27860): checkCertTrusted: trying defaultTrustManager
12-30 10:21:25.832: D/SMACK(27860): SENT (0): <stream:stream to="us.army.mil" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
12-30 10:21:25.962: D/SMACK(27860): RCV (0): <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="testtims.turkcell.com.tr" id="505449b3" xml:lang="en" version="1.0">
12-30 10:21:25.962: D/SMACK(27860): RCV (0): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
12-30 10:21:25.962: D/SMACK(27860): SENT (0): <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
12-30 10:21:26.042: D/SMACK(27860): RCV (0): <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
12-30 10:21:26.172: D/SMACK(27860): SENT (0): </stream:stream>
答案 0 :(得分:1)
不,不。我只是意味着Smack正在尝试与负责us.army.mil
的XMPP服务建立连接,因为它配置了该服务用户的凭据。