public class Socks5BytestreamsModule extends Object implements XmppModule
| Modifier and Type | Class and Description |
|---|---|
static class |
Socks5BytestreamsModule.ActivateCallback |
static interface |
Socks5BytestreamsModule.StreamhostsHandler |
| Constructor and Description |
|---|
Socks5BytestreamsModule(Context context) |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
process(Element element)
Main method of module.
|
void |
process(IQ iq) |
void |
requestActivate(JID host,
String sid,
JID jid,
Socks5BytestreamsModule.ActivateCallback callback) |
void |
requestStreamhosts(JID host,
StreamhostsCallback callback) |
void |
sendStreamhosts(JID recipient,
String sid,
List<Streamhost> hosts,
AsyncCallback callback) |
void |
sendStreamhostUsed(JID to,
String id,
String sid,
Streamhost streamhost) |
public static final String XMLNS_BS
public Socks5BytestreamsModule(Context context)
public Criteria getCriteria()
XmppModulegetCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
getFeatures in interface XmppModulepublic void process(Element element) throws JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaJaxmppExceptionpublic void process(IQ iq) throws JaxmppException
JaxmppExceptionpublic void requestActivate(JID host, String sid, JID jid, Socks5BytestreamsModule.ActivateCallback callback) throws JaxmppException
JaxmppExceptionpublic void requestStreamhosts(JID host, StreamhostsCallback callback) throws JaxmppException
JaxmppExceptionpublic void sendStreamhostUsed(JID to, String id, String sid, Streamhost streamhost) throws JaxmppException
JaxmppExceptionpublic void sendStreamhosts(JID recipient, String sid, List<Streamhost> hosts, AsyncCallback callback) throws JaxmppException
JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.