|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flat502.rox.demo.RMISyncServerDemo
public class RMISyncServerDemo
A demo server illustrating the ProxyingRequestHandler
class.
| Constructor Summary | |
|---|---|
RMISyncServerDemo()
|
|
| Method Summary | |
|---|---|
java.util.Date |
getDate()
Get the current date and time. |
java.lang.String |
getVersionInfo(boolean verbose)
Fetch a version string. |
static void |
main(java.lang.String[] args)
Start an instance of this demo server. |
int |
sum(int[] list)
Sums an array of integers; |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RMISyncServerDemo()
| Method Detail |
|---|
public int sum(int[] list)
sum in interface RMIServerInterfacelist - The list of integers
public java.lang.String getVersionInfo(boolean verbose)
getVersionInfo in interface RMIServerInterfaceverbose - A flag indicating whether or not the returned
version info is verbose.
public java.util.Date getDate()
getDate in interface RMIServerInterfaceDate instance set to
the current date and time.public static void main(java.lang.String[] args)
The following XML-RPC methods are supported by this server:
args - A list of parameters indicating
the host/address and
port to bind to. These default to
localhost and 8080 if
not specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||