|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFunction
Method Summary | |
---|---|
void |
getIoSchemataAsync(IIoSchemataListener listener)
Retrieves the input/output XML Schemata of the function. |
IoSchemata |
getIoSchemataSync(long millis)
Retrieves the input/output XML Schemata of the function. |
java.lang.String |
getName()
Returns the function name. |
IService |
getService()
Returns the XMPP Service that hosts the function. |
IProcess |
invokeAsync(org.w3c.dom.Element input,
IProcessListener listener)
Invokes the function. |
IProcess |
invokeAsync(org.w3c.dom.Element input,
ISimpleProcessListener simple_listener)
Invokes the function. |
IProcess |
invokeAsync(java.lang.String input_element,
IProcessListener listener)
Invokes the function. |
IProcess |
invokeAsync(java.lang.String input_element,
ISimpleProcessListener simple_listener)
Invokes the function. |
org.w3c.dom.Element |
invokeSync(org.w3c.dom.Element input,
long millis)
Invokes the function. |
org.w3c.dom.Element |
invokeSync(java.lang.String input_element,
long millis)
Invokes the function. |
boolean |
isCompatibleFunction()
Returns true if this function is compatible with XEP-0244: IO Data. |
IProcess |
pickAsync(java.lang.String sessionID,
IProcessListener listener)
Picks the running remote process associated with a session ID. |
Methods inherited from interface net.bioclipse.xws.client.IXmppItem |
---|
discoverAsync, discoverSync, getDescription, getDiscoError, getDiscoStatus, getInfo, getItems, getJid, getNode, toString |
Method Detail |
---|
boolean isCompatibleFunction() throws XwsException
XwsException
java.lang.String getName()
IService getService()
void getIoSchemataAsync(IIoSchemataListener listener) throws XmppException
listener
- The listener to be informed.
XmppException
IoSchemata getIoSchemataSync(long millis) throws XmppException, XwsException, java.lang.InterruptedException
millis
- The timeout in milliseconds.
XmppException
XwsException
java.lang.InterruptedException
IProcess invokeAsync(org.w3c.dom.Element input, IProcessListener listener) throws XmppException
input
- The input XML element as Element.listener
- The listener responsible for retrieving the result and deleting the process when indicated.
XmppException
IProcess invokeAsync(org.w3c.dom.Element input, ISimpleProcessListener simple_listener) throws XmppException
input
- The input XML element as Element.simple_listener
- The listener that will be informed about the result or errors.
XmppException
IProcess invokeAsync(java.lang.String input_element, IProcessListener listener) throws XmppException
input_element
- The input XML element as String.listener
- The listener responsible for retrieving the result and deleting the process when indicated.
XmppException
IProcess invokeAsync(java.lang.String input_element, ISimpleProcessListener simple_listener) throws XmppException
input_element
- The input XML element as String.simple_listener
- The listener that will be informed about the result or errors.
XmppException
IProcess pickAsync(java.lang.String sessionID, IProcessListener listener) throws XmppException
sessionID
- The session ID of the remote process.listener
- The listener responsible for retrieving the result and deleting the process when indicated.
XmppException
org.w3c.dom.Element invokeSync(org.w3c.dom.Element input, long millis) throws XmppException, XwsException, java.lang.InterruptedException
input
- The input XML element as Element.millis
- The timeout in milliseconds.
XmppException
XwsException
java.lang.InterruptedException
org.w3c.dom.Element invokeSync(java.lang.String input_element, long millis) throws XmppException, XwsException, java.lang.InterruptedException
input_element
- The input XML element as String.millis
- The timeout in milliseconds.
XmppException
XwsException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |