Package | Description |
---|---|
org.astrogrid.samp.xmlrpc |
Classes relating to Standard Profile and XML-RPC pluggable implementation layer.
|
Modifier and Type | Class and Description |
---|---|
private static class |
XmlRpcKit.AvailableKit
XmlRpcKit implementation which is available.
|
private static class |
XmlRpcKit.UnavailableKit
XmlRpcKit implementation which always returns false from isAvailable
and throws exceptions from getServer/Client factory methods.
|
Modifier and Type | Field and Description |
---|---|
static XmlRpcKit |
XmlRpcKit.APACHE
Implementation based on Apache XML-RPC.
|
private static XmlRpcKit |
XmlRpcKit.defaultInstance_ |
static XmlRpcKit |
XmlRpcKit.INTERNAL
Implementation which requires no external libraries.
|
static XmlRpcKit[] |
XmlRpcKit.KNOWN_IMPLS
Array of available known implementations of this class.
|
static XmlRpcKit |
XmlRpcKit.RPC_LOGGING
Internal implementation variant with verbose logging of RPC calls.
|
static XmlRpcKit |
XmlRpcKit.XML_LOGGING
Internal implementation variant with verbose logging of XML I/O.
|
Modifier and Type | Method and Description |
---|---|
private static XmlRpcKit |
XmlRpcKit.createApacheKit(java.lang.String name)
Returns an available or unavailable XmlRpcKit based on Apache XML-RPC
version 1.2.
|
private static XmlRpcKit |
XmlRpcKit.createDefaultInstance()
Constructs the default instance of this class based on system property
and class availability.
|
static XmlRpcKit |
XmlRpcKit.createReflectionKit(java.lang.String name,
java.lang.String clientFactoryClassName,
java.lang.String serverFactoryClassName)
Returns a new XmlRpcKit given classnames for the client and server
factory classes.
|
static XmlRpcKit |
XmlRpcKit.getInstance()
Returns the default instance of this class.
|
static XmlRpcKit |
XmlRpcKit.getInstanceByName(java.lang.String name)
Returns an XmlRpcKit instance given its name.
|
Modifier and Type | Method and Description |
---|---|
static HubRunner |
HubRunner.runHub(HubMode hubMode,
XmlRpcKit xmlrpc)
Deprecated.
Static method which may be used to start a SAMP hub programmatically.
|
static HubRunner |
HubRunner.runHub(HubMode hubMode,
XmlRpcKit xmlrpc,
java.lang.String secret,
java.io.File lockfile)
Deprecated.
Static method which may be used to start a SAMP hub programmatically,
with a supplied samp.secret string.
|
Constructor and Description |
---|
StandardClientProfile(XmlRpcKit xmlrpc)
Constructs a profile given an XmlRpcKit object.
|