|
|||||||||
| Home >> All >> jreceiver >> common >> rpc >> [ xmlrpc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jreceiver.common.rpc.xmlrpc
Class XmlRpcBaseImpl

java.lang.Objectjreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl
- All Implemented Interfaces:
- jreceiver.common.rpc.RpcBase
- Direct Known Subclasses:
- MenusImpl, MimesImpl, PlaylistEncoderImpl, ScannerImpl, ServerTableImpl, jreceiver.common.callback.rpc.xmlrpc.SettingListenerImpl, SettingsImpl, TagEncoderImpl
- public abstract class XmlRpcBaseImpl
- extends java.lang.Object
- implements jreceiver.common.rpc.RpcBase
- extends java.lang.Object
RpcBase class to support queries to a remote server via XML-RPC.
- Version:
- $Revision: 1.1 $ $Date: 2002/07/31 11:29:42 $
| Field Summary | |
private org.apache.xmlrpc.XmlRpcClient |
client
a means of contacting the server for this implemenation |
private java.lang.String |
handler_name
|
protected static org.apache.commons.logging.Log |
log
logging sink |
| Fields inherited from interface jreceiver.common.rpc.RpcBase |
DETECT |
| Constructor Summary | |
protected |
XmlRpcBaseImpl(java.lang.String handler_name,
java.net.URL remote_host,
jreceiver.common.rec.security.User user)
ctor for the base xml-rpc client implementation |
| Method Summary | |
boolean |
detect()
test to see if the handler is available |
java.lang.Object |
execute(java.lang.String method,
java.util.Vector params)
|
private java.lang.String |
getSignature(java.lang.String method_name)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
client
private org.apache.xmlrpc.XmlRpcClient client
- a means of contacting the server for this implemenation
handler_name
private java.lang.String handler_name
log
protected static org.apache.commons.logging.Log log
- logging sink
| Constructor Detail |
XmlRpcBaseImpl
protected XmlRpcBaseImpl(java.lang.String handler_name, java.net.URL remote_host, jreceiver.common.rec.security.User user) throws jreceiver.common.rpc.RpcException
- ctor for the base xml-rpc client implementation
Sets up for basic authentication.
| Method Detail |
execute
public java.lang.Object execute(java.lang.String method, java.util.Vector params) throws jreceiver.common.rpc.RpcException
getSignature
private java.lang.String getSignature(java.lang.String method_name)
detect
public boolean detect()
- test to see if the handler is available
- Specified by:
detectin interfacejreceiver.common.rpc.RpcBase
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> jreceiver >> common >> rpc >> [ xmlrpc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jreceiver.common.rpc.xmlrpc.XmlRpcBaseImpl