|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the interface to parts of a LSProxyService
respectively LSServerService implementation.
The LSAdminService provides functionality of the Location
Server Gui (LSGui) which can be used to
watch and control the LSProxy and LSServer in
an admistrative way.
LSProxyServiceImpl,
LSServerServiceImpl| Method Summary | |
TrustedListener |
addListener(Listener listener)
Adds a Listener. |
boolean |
getEventFlag()
Returns the current state of the event flag of the server's or proxy's internal database. |
long |
getTimeout()
Returns the timeout of entries in the server database. |
LSPReply |
list(LSPList request)
Handles the given list request
(see LSPList). |
boolean |
securityAvailable()
Returns the availability of encryption and encoding what needs special cryptographic algorithms. |
void |
setEventFlag(boolean flag)
Sets the event flag to enable respectively disable the generation of events within the server's or proxy's internal database. |
void |
setTimeout(long timeout)
Sets the timeout of entries in the server database. |
| Method Detail |
public LSPReply list(LSPList request)
request
(see LSPList).
Following reply states and bodies are possible
(see LSPReply):
ACKNOWLEDGE
(LSPListResult
body)
request - The list request.
public long getTimeout()
public void setTimeout(long timeout)
timeout of 0 deactivates the timeout mechanism.
timeout - The timeout in milli seconds.public boolean securityAvailable()
true if secure register requests can be
handled; false otherwise.public TrustedListener addListener(Listener listener)
Listener.
The Listener will receive events of the type
StorageDBEvent. Iff the event flag has been set,
those events are triggered by the internal database
of the server to incrementally describe its state.
Listener instances passed to this method shall be
wrapped in a TrustedListener which is then
returned.
listener - The Listener to be registered.
TrustedListener that wraps around
the given Listener.
NullPointerException - if listener
is null.public void setEventFlag(boolean flag)
flag - The event flag to be set.public boolean getEventFlag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||