|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A generic service interface for client-side proxies.
Method Summary | |
ResourceID[] |
getResourceIDs()
Obtain the resource IDs of the resources that are exposed by this service. |
java.net.URL |
getURL()
Obtain the URL of the service |
void |
ping()
Contacts the service to check it is running. |
void |
setConnectionProperty(ConnectionProperty property)
Configure the connection with a property. |
void |
setResourceID(ResourceID id)
Set the default resource. |
Method Detail |
public java.net.URL getURL()
public ResourceID[] getResourceIDs() throws ServiceCommsException, ServerException
ServerException
- If there was an error server-side.
ServiceCommsException
- If there was an error communicating with the service.public void setResourceID(ResourceID id)
id
- Resource IDpublic void setConnectionProperty(ConnectionProperty property)
property
- A connection propertypublic void ping() throws ServiceCommsException
ServiceCommsException
- If there was an error communicating with the service.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |