|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.xmote.server.XmoteServer
public class XmoteServer
The XmoteServer decodes and invokes requests on instances of a service.
| Constructor Summary | |
|---|---|
XmoteServer()
|
|
| Method Summary | |
|---|---|
void |
addService(java.lang.Object service)
Create RemoteMethod instances for all declared methods in the service object and add them to the server. |
java.lang.Object |
invoke(org.jdom.Element root)
Decode and invoke the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmoteServer()
| Method Detail |
|---|
public void addService(java.lang.Object service)
service - The service object to add.
public java.lang.Object invoke(org.jdom.Element root)
throws XmoteException
root - The root Element of the request.
XmoteException - If an exception occurs while invoking the method or
no matching method is found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||