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 XMPPException, XMLException, JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionpublic void process(IQ iq) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void requestActivate(JID host, String sid, JID jid, Socks5BytestreamsModule.ActivateCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void requestStreamhosts(JID host, StreamhostsCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void sendStreamhosts(JID recipient, String sid, List<Streamhost> hosts, AsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void sendStreamhostUsed(JID to, String id, String sid, Streamhost streamhost) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionCopyright © 2006–2016 Tigase. All rights reserved.