Class JingleS5BTransportSession
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.transports.JingleTransportSession<JingleS5BTransport>
-
- org.jivesoftware.smackx.jingle.transports.jingle_s5b.JingleS5BTransportSession
-
public class JingleS5BTransportSession extends JingleTransportSession<JingleS5BTransport>
Handler that handles Jingle Socks5Bytestream transports (XEP-0260).
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smackx.jingle.transports.JingleTransportSession
jingleSession, ourProposal, theirProposal
-
-
Constructor Summary
Constructors Constructor Description JingleS5BTransportSession(JingleSession jingleSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JingleS5BTransport
createTransport()
JingleS5BTransport
createTransport(java.lang.String sid, Bytestream.Mode mode)
java.lang.String
getNamespace()
IQ
handleCandidateActivate(Jingle jingle)
IQ
handleCandidateError(Jingle jingle)
IQ
handleCandidateUsed(Jingle jingle)
IQ
handleProxyError(Jingle jingle)
IQ
handleTransportInfo(Jingle transportInfo)
void
initiateIncomingSession(JingleTransportInitiationCallback callback)
void
initiateOutgoingSession(JingleTransportInitiationCallback callback)
void
setTheirProposal(JingleContentTransport transport)
void
setTheirTransport(JingleContentTransport transport)
JingleS5BTransportManager
transportManager()
-
Methods inherited from class org.jivesoftware.smackx.jingle.transports.JingleTransportSession
processJingle
-
-
-
-
Constructor Detail
-
JingleS5BTransportSession
public JingleS5BTransportSession(JingleSession jingleSession)
-
-
Method Detail
-
createTransport
public JingleS5BTransport createTransport()
- Specified by:
createTransport
in classJingleTransportSession<JingleS5BTransport>
-
setTheirProposal
public void setTheirProposal(JingleContentTransport transport)
- Specified by:
setTheirProposal
in classJingleTransportSession<JingleS5BTransport>
-
createTransport
public JingleS5BTransport createTransport(java.lang.String sid, Bytestream.Mode mode)
-
setTheirTransport
public void setTheirTransport(JingleContentTransport transport)
-
initiateOutgoingSession
public void initiateOutgoingSession(JingleTransportInitiationCallback callback)
- Specified by:
initiateOutgoingSession
in classJingleTransportSession<JingleS5BTransport>
-
initiateIncomingSession
public void initiateIncomingSession(JingleTransportInitiationCallback callback)
- Specified by:
initiateIncomingSession
in classJingleTransportSession<JingleS5BTransport>
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in classJingleTransportSession<JingleS5BTransport>
-
handleTransportInfo
public IQ handleTransportInfo(Jingle transportInfo)
- Specified by:
handleTransportInfo
in classJingleTransportSession<JingleS5BTransport>
-
handleCandidateUsed
public IQ handleCandidateUsed(Jingle jingle)
-
handleCandidateActivate
public IQ handleCandidateActivate(Jingle jingle)
-
handleCandidateError
public IQ handleCandidateError(Jingle jingle)
-
handleProxyError
public IQ handleProxyError(Jingle jingle)
-
transportManager
public JingleS5BTransportManager transportManager()
- Specified by:
transportManager
in classJingleTransportSession<JingleS5BTransport>
-
-