public class JingleSocks5BytestreamsConnectionManager extends Socks5ConnectionManager
Socks5ConnectionManager.StateConnectionManager.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, unregisterSessionpublic 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
JaxmppExceptionpublic void connectUdp(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppExceptionpublic Transport getTransport(JaxmppCore jaxmpp, ConnectionSession session) throws JaxmppException
JaxmppExceptionpublic void initConnection(JaxmppCore jaxmpp, ConnectionSession session, ConnectionManager.InitializedCallback callback) throws JaxmppException
JaxmppExceptionpublic void setContext(Context context)
setContext in interface ContextAwaresetContext in class Socks5ConnectionManagerCopyright © 2006–2016 Tigase. All rights reserved.