public class Socks5BytestreamsConnectionManager extends Socks5ConnectionManager
Socks5ConnectionManager.StateConnectionManager.ConnectionClosedHandler, ConnectionManager.ConnectionEstablishedHandler, ConnectionManager.ConnectionFailedHandler, ConnectionManager.InitializedCallbackcontext, JAXMPP_KEY, PACKET_ID, PROXY_JID_KEY, PROXY_JID_USED_KEY, SID_KEY, STREAMHOST_KEY| Constructor and Description |
|---|
Socks5BytestreamsConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectTcp(JaxmppCore jaxmpp,
ConnectionSession session) |
void |
connectUdp(JaxmppCore jaxmpp,
ConnectionSession session) |
void |
initConnection(JaxmppCore jaxmpp,
ConnectionSession session,
ConnectionManager.InitializedCallback callback) |
void |
register(JaxmppCore jaxmpp,
ConnectionSession session) |
protected void |
requestStreamHosts(JaxmppCore jaxmpp,
ConnectionSession session,
JID proxyJid) |
protected void |
sendStreamHosts(JaxmppCore jaxmpp,
ConnectionSession ft,
List<Streamhost> proxyStreamhosts) |
void |
sendStreamhostUsed(FileTransfer ft,
String packetId) |
checkHash, clearSessions, connectToProxy, discoverProxy, fireOnConnected, fireOnConnected, fireOnFailure, generateHash, getLocalStreamHosts, getSession, handleConnection, processData, proxyDiscoveryError, proxyDiscoveryFinished, registerSession, requestActivate, setContext, unregisterSessionpublic void connectTcp(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppExceptionpublic void connectUdp(JaxmppCore jaxmpp, ConnectionSession session)
public void initConnection(JaxmppCore jaxmpp, ConnectionSession session, ConnectionManager.InitializedCallback callback) throws JaxmppException
JaxmppExceptionpublic void register(JaxmppCore jaxmpp, ConnectionSession session)
protected void requestStreamHosts(JaxmppCore jaxmpp, ConnectionSession session, JID proxyJid) throws JaxmppException
JaxmppExceptionprotected void sendStreamHosts(JaxmppCore jaxmpp, ConnectionSession ft, List<Streamhost> proxyStreamhosts) throws JaxmppException
JaxmppExceptionpublic void sendStreamhostUsed(FileTransfer ft, String packetId) throws JaxmppException
JaxmppExceptionCopyright © 2006–2016 Tigase. All rights reserved.