|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the interface for a LSP_RegisterPlain, a LSP_RegisterEncrypted or a LSP_RegisterEncoded structure of the Location Service Protocol.
The implicit name is the unique identifier of an mobile object
for instance the hashcode of its static part. The contact address
should consist of a URL string that specifies the protocol, address,
and port of a management service provided by the server, which is in
possession of the specified object. The current cookie is used as
authorisation mechanism by the LSServer
and
LSProxy
permitting a LSClient
to update or
delete an existing entry. The new cookie represents the authorisation
code for the next registration.
To distinguish between initialization, update and deletion a special
NULL_COOKIE
is used as follows:
if (currentCookie == NULL_COOKIE)
{ Initialize a new entry }
if (newCookie == NULL_COOKIE)
{ Delete the existing entry }otherwise update the existing entry
LSPRegisterPlain
,
LSPRegisterEncrypted
,
LSPRegisterEncoded
Method Summary | |
URL |
getContactAddress()
Returns the contact address or an empty URL, if the encoded contact address is not well-formed. |
byte[] |
getCurrentCookie()
Returns the current cookie. |
byte[] |
getImplicitName()
Returns the implicit name. |
byte[] |
getNewCookie()
Returns the new cookie. |
Method Detail |
public byte[] getImplicitName()
public URL getContactAddress()
public byte[] getNewCookie()
public byte[] getCurrentCookie()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |