|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.bytestreams.socks5.Socks5PacketUtils
public class Socks5PacketUtils
A collection of utility methods to create XMPP packets.
| Constructor Summary | |
|---|---|
Socks5PacketUtils()
|
|
| Method Summary | |
|---|---|
static IQ |
createActivationConfirmation(java.lang.String from,
java.lang.String to)
Returns a response IQ for a activation request to the proxy. |
static Bytestream |
createBytestreamInitiation(java.lang.String from,
java.lang.String to,
java.lang.String sessionID)
Returns a SOCKS5 Bytestream initialization request packet. |
static Bytestream |
createBytestreamResponse(java.lang.String from,
java.lang.String to)
Returns a response to a SOCKS5 Bytestream initialization request. |
static DiscoverInfo |
createDiscoverInfo(java.lang.String from,
java.lang.String to)
Returns a response to an info discovery request. |
static DiscoverItems |
createDiscoverItems(java.lang.String from,
java.lang.String to)
Returns a response to an item discovery request. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Socks5PacketUtils()
| Method Detail |
|---|
public static Bytestream createBytestreamInitiation(java.lang.String from,
java.lang.String to,
java.lang.String sessionID)
from - the initiatorto - the targetsessionID - the session ID
public static Bytestream createBytestreamResponse(java.lang.String from,
java.lang.String to)
from - the targetto - the initiator
public static DiscoverItems createDiscoverItems(java.lang.String from,
java.lang.String to)
from - the XMPP serverto - the XMPP client
public static DiscoverInfo createDiscoverInfo(java.lang.String from,
java.lang.String to)
from - the targetto - the initiator
public static IQ createActivationConfirmation(java.lang.String from,
java.lang.String to)
from - JID of the proxyto - JID of the client who wants to activate the SOCKS5 Bytestream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||