public class JingleUtil extends Object
Constructor and Description |
---|
JingleUtil(XMPPConnection connection) |
Modifier and Type | Method and Description |
---|---|
IQ |
createAck(Jingle jingle) |
IQ |
createErrorMalformedRequest(Jingle request) |
IQ |
createErrorOutOfOrder(Jingle request) |
IQ |
createErrorTieBreak(Jingle request) |
IQ |
createErrorUnknownInitiator(Jingle request) |
IQ |
createErrorUnknownSession(Jingle request) |
IQ |
createErrorUnsupportedInfo(Jingle request) |
Jingle |
createSessionAccept(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContent.Senders contentSenders,
JingleContentDescription description,
JingleContentTransport transport) |
Jingle |
createSessionInitiate(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContent.Senders contentSenders,
JingleContentDescription description,
JingleContentTransport transport) |
Jingle |
createSessionInitiateFileOffer(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentDescription description,
JingleContentTransport transport) |
Jingle |
createSessionPing(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminate(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleReason.Reason reason) |
Jingle |
createSessionTerminate(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleReason reason) |
Jingle |
createSessionTerminateAlternativeSession(org.jxmpp.jid.FullJid recipient,
String sessionId,
String altSessionId) |
Jingle |
createSessionTerminateBusy(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateCancel(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateContentCancel(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName) |
Jingle |
createSessionTerminateDecline(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateFailedApplication(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateFailedTransport(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateIncompatibleParameters(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateSuccess(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateUnsupportedApplications(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createSessionTerminateUnsupportedTransports(org.jxmpp.jid.FullJid recipient,
String sessionId) |
Jingle |
createTransportAccept(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
Jingle |
createTransportReject(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
Jingle |
createTransportReplace(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
void |
sendAck(Jingle jingle) |
IQ |
sendContentRejectFileNotAvailable(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContentDescription description) |
void |
sendErrorMalformedRequest(Jingle request) |
void |
sendErrorOutOfOrder(Jingle request) |
void |
sendErrorTieBreak(Jingle request) |
void |
sendErrorUnknownInitiator(Jingle request) |
void |
sendErrorUnknownSession(Jingle request) |
void |
sendErrorUnsupportedInfo(Jingle request) |
IQ |
sendSessionAccept(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContent.Senders contentSenders,
JingleContentDescription description,
JingleContentTransport transport) |
IQ |
sendSessionInitiate(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContent.Senders contentSenders,
JingleContentDescription description,
JingleContentTransport transport) |
IQ |
sendSessionInitiateFileOffer(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentDescription description,
JingleContentTransport transport) |
IQ |
sendSessionPing(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateAlternativeSession(org.jxmpp.jid.FullJid recipient,
String sessionId,
String altSessionId) |
IQ |
sendSessionTerminateBusy(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateCancel(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateContentCancel(org.jxmpp.jid.FullJid recipient,
String sessionId,
JingleContent.Creator contentCreator,
String contentName) |
IQ |
sendSessionTerminateDecline(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateFailedApplication(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateFailedTransport(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateIncompatibleParameters(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateSuccess(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateUnsupportedApplications(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendSessionTerminateUnsupportedTransports(org.jxmpp.jid.FullJid recipient,
String sessionId) |
IQ |
sendTransportAccept(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
IQ |
sendTransportReject(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
IQ |
sendTransportReplace(org.jxmpp.jid.FullJid recipient,
org.jxmpp.jid.FullJid initiator,
String sessionId,
JingleContent.Creator contentCreator,
String contentName,
JingleContentTransport transport) |
public JingleUtil(XMPPConnection connection)
public Jingle createSessionInitiate(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContent.Senders contentSenders, JingleContentDescription description, JingleContentTransport transport)
public Jingle createSessionInitiateFileOffer(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentDescription description, JingleContentTransport transport)
public IQ sendSessionInitiateFileOffer(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentDescription description, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public IQ sendSessionInitiate(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContent.Senders contentSenders, JingleContentDescription description, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException
public Jingle createSessionAccept(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContent.Senders contentSenders, JingleContentDescription description, JingleContentTransport transport)
public IQ sendSessionAccept(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContent.Senders contentSenders, JingleContentDescription description, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException
public Jingle createSessionTerminate(org.jxmpp.jid.FullJid recipient, String sessionId, JingleReason reason)
public Jingle createSessionTerminate(org.jxmpp.jid.FullJid recipient, String sessionId, JingleReason.Reason reason)
public Jingle createSessionTerminateDecline(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateDecline(org.jxmpp.jid.FullJid recipient, String sessionId) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public Jingle createSessionTerminateSuccess(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateSuccess(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateBusy(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateBusy(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateAlternativeSession(org.jxmpp.jid.FullJid recipient, String sessionId, String altSessionId)
public IQ sendSessionTerminateAlternativeSession(org.jxmpp.jid.FullJid recipient, String sessionId, String altSessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateCancel(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateCancel(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateContentCancel(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName)
public IQ sendSessionTerminateContentCancel(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContent.Creator contentCreator, String contentName) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public Jingle createSessionTerminateUnsupportedTransports(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateUnsupportedTransports(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateFailedTransport(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateFailedTransport(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateUnsupportedApplications(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateUnsupportedApplications(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateFailedApplication(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateFailedApplication(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public Jingle createSessionTerminateIncompatibleParameters(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionTerminateIncompatibleParameters(org.jxmpp.jid.FullJid recipient, String sessionId) throws InterruptedException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, SmackException.NoResponseException
public IQ sendContentRejectFileNotAvailable(org.jxmpp.jid.FullJid recipient, String sessionId, JingleContentDescription description)
public Jingle createSessionPing(org.jxmpp.jid.FullJid recipient, String sessionId)
public IQ sendSessionPing(org.jxmpp.jid.FullJid recipient, String sessionId) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public void sendAck(Jingle jingle) throws SmackException.NotConnectedException, InterruptedException
public Jingle createTransportReplace(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport)
public IQ sendTransportReplace(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public Jingle createTransportAccept(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport)
public IQ sendTransportAccept(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public Jingle createTransportReject(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport)
public IQ sendTransportReject(org.jxmpp.jid.FullJid recipient, org.jxmpp.jid.FullJid initiator, String sessionId, JingleContent.Creator contentCreator, String contentName, JingleContentTransport transport) throws SmackException.NotConnectedException, InterruptedException, XMPPException.XMPPErrorException, SmackException.NoResponseException
public IQ createErrorUnknownSession(Jingle request)
public void sendErrorUnknownSession(Jingle request) throws SmackException.NotConnectedException, InterruptedException
public IQ createErrorUnknownInitiator(Jingle request)
public void sendErrorUnknownInitiator(Jingle request) throws SmackException.NotConnectedException, InterruptedException
public IQ createErrorUnsupportedInfo(Jingle request)
public void sendErrorUnsupportedInfo(Jingle request) throws SmackException.NotConnectedException, InterruptedException
public IQ createErrorTieBreak(Jingle request)
public void sendErrorTieBreak(Jingle request) throws SmackException.NotConnectedException, InterruptedException
public IQ createErrorOutOfOrder(Jingle request)
public void sendErrorOutOfOrder(Jingle request) throws SmackException.NotConnectedException, InterruptedException
public IQ createErrorMalformedRequest(Jingle request)
public void sendErrorMalformedRequest(Jingle request) throws SmackException.NotConnectedException, InterruptedException