|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlRpcServerInterface
Provides basic operations for XML-RPC communication as a server.
These operations are basically methods from WebServer
class of the XML-RPC package by apache. To have a class responding
to remote calls a so called handler must be set. This is done by
the addHandler
method. Other methods return objects
like the WebServer
itself.
Method Summary | |
---|---|
void |
addHandler(java.lang.String aHandlerName,
java.lang.Object aHandler)
Adds a handler object to a WebServer . |
java.lang.Object |
getHandler(java.lang.String aHandlerName)
Returns the object associated with given handler name. |
org.apache.xmlrpc.WebServer |
getServer()
Returns the WebServer of an implementing class. |
int |
getServerPort()
Returns the port on which the server is listening for remote calls. |
Method Detail |
---|
void addHandler(java.lang.String aHandlerName, java.lang.Object aHandler)
WebServer
.
This object then processes incoming calls associated with
the given handler name.
aHandlerName
- a String to which an handling object is mappedaHandler
- remote calls handling objectorg.apache.xmlrpc.WebServer getServer()
WebServer
of an implementing class.
WebServer
objectint getServerPort()
int
valuejava.lang.Object getHandler(java.lang.String aHandlerName)
aHandlerName
- a name of a handling class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |