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()
XmppModule
getCriteria
in interface XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
getFeatures
in interface XmppModule
public void process(Element element) throws JaxmppException
XmppModule
process
in interface XmppModule
element
- incoming XMPP stanzaJaxmppException
public void process(IQ iq) throws JaxmppException
JaxmppException
public void requestActivate(JID host, String sid, JID jid, Socks5BytestreamsModule.ActivateCallback callback) throws JaxmppException
JaxmppException
public void requestStreamhosts(JID host, StreamhostsCallback callback) throws JaxmppException
JaxmppException
public void sendStreamhostUsed(JID to, String id, String sid, Streamhost streamhost) throws JaxmppException
JaxmppException
public void sendStreamhosts(JID recipient, String sid, List<Streamhost> hosts, AsyncCallback callback) throws JaxmppException
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.