public class Socks5BytestreamsConnectionManager extends Socks5ConnectionManager
Socks5ConnectionManager.State
ConnectionManager.ConnectionClosedHandler, ConnectionManager.ConnectionEstablishedHandler, ConnectionManager.ConnectionFailedHandler, ConnectionManager.InitializedCallback
context, 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, unregisterSession
public void connectTcp(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppException
public void connectUdp(JaxmppCore jaxmpp, ConnectionSession session)
public void initConnection(JaxmppCore jaxmpp, ConnectionSession session, ConnectionManager.InitializedCallback callback) throws JaxmppException
JaxmppException
public void register(JaxmppCore jaxmpp, ConnectionSession session)
protected void requestStreamHosts(JaxmppCore jaxmpp, ConnectionSession session, JID proxyJid) throws JaxmppException
JaxmppException
protected void sendStreamHosts(JaxmppCore jaxmpp, ConnectionSession ft, List<Streamhost> proxyStreamhosts) throws JaxmppException
JaxmppException
public void sendStreamhostUsed(FileTransfer ft, String packetId) throws JaxmppException
JaxmppException
Copyright © 2006–2016 Tigase. All rights reserved.