public class JingleSocks5BytestreamsConnectionManager extends Socks5ConnectionManager
Socks5ConnectionManager.State
ConnectionManager.ConnectionClosedHandler, ConnectionManager.ConnectionEstablishedHandler, ConnectionManager.ConnectionFailedHandler, ConnectionManager.InitializedCallback
Modifier and Type | Field and Description |
---|---|
static String |
CANDIDATE_USED_KEY |
static String |
SOCKS5_TRANSPORT_KEY |
static String |
TRANSPORT_USED_KEY |
static String |
TRANSPORTS_KEY |
static String |
XMLNS |
context, JAXMPP_KEY, PACKET_ID, PROXY_JID_KEY, PROXY_JID_USED_KEY, SID_KEY, STREAMHOST_KEY
Constructor and Description |
---|
JingleSocks5BytestreamsConnectionManager(ConnectionSessionHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
connectTcp(JaxmppCore jaxmpp,
ConnectionSession session) |
void |
connectUdp(JaxmppCore jaxmpp,
ConnectionSession session) |
Transport |
getTransport(JaxmppCore jaxmpp,
ConnectionSession session) |
void |
initConnection(JaxmppCore jaxmpp,
ConnectionSession session,
ConnectionManager.InitializedCallback callback) |
void |
setContext(Context context) |
checkHash, clearSessions, connectToProxy, discoverProxy, fireOnConnected, fireOnConnected, fireOnFailure, generateHash, getLocalStreamHosts, getSession, handleConnection, processData, proxyDiscoveryError, proxyDiscoveryFinished, registerSession, requestActivate, unregisterSession
public static final String CANDIDATE_USED_KEY
public static final String XMLNS
public static final String SOCKS5_TRANSPORT_KEY
public static final String TRANSPORT_USED_KEY
public static final String TRANSPORTS_KEY
public JingleSocks5BytestreamsConnectionManager(ConnectionSessionHandler handler)
public void connectTcp(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppException
public void connectUdp(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppException
public Transport getTransport(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppException
public void initConnection(JaxmppCore jaxmpp, ConnectionSession session, ConnectionManager.InitializedCallback callback) throws JaxmppException
JaxmppException
public void setContext(Context context)
setContext
in interface ContextAware
setContext
in class Socks5ConnectionManager
Copyright © 2006–2016 Tigase. All rights reserved.