public class RendezvousService
extends java.lang.Object
| Constructor and Description |
|---|
RendezvousService() |
| Modifier and Type | Method and Description |
|---|---|
static void |
associateId(ClientIdentity identity,
NameRegistrationResult nameRegistration,
OnCompleteListener<NameRegistrationResult> completedCallback,
java.lang.Object state)
Helper method to initiate the call to associateId
|
static void |
disAssociateId(ClientIdentity identity,
NameRegistrationResult nameRegistration,
OnCompleteListener<NameRegistrationResult> completedCallback,
java.lang.Object state)
Helper method to initiate the call to disAssociateId dissociate id from
name
|
static void |
lookupName(ClientIdentity identity,
java.lang.String name,
OnCompleteListener<NameRegistrationResult> completedCallback,
java.lang.Object state)
Helper method to initiate the call to look up name from DB.
|
static void |
registerName(ClientIdentity identity,
java.lang.String name,
OnCompleteListener<NameRegistrationResult> completedCallback,
java.lang.Object state)
Helper method to initiate the call to register name to DB.
|
static void |
unRegisterName(ClientIdentity identity,
NameRegistrationResult nameRegistration,
OnCompleteListener<NameRegistrationResult> completedCallback,
java.lang.Object state)
Helper method to initiate the call to unregister name from DB.
|
public static void lookupName(ClientIdentity identity, java.lang.String name, OnCompleteListener<NameRegistrationResult> completedCallback, java.lang.Object state) throws java.lang.Exception
identity - the client identityname - specifies a name of end point or groupcompletedCallback - completion callbackstate - specifies a user-defined objectjava.lang.Exception - voidpublic static void registerName(ClientIdentity identity, java.lang.String name, OnCompleteListener<NameRegistrationResult> completedCallback, java.lang.Object state) throws java.lang.Exception
identity - the client identityname - specifies a name of end point or groupcompletedCallback - completion callbackstate - specifies a user-defined objectjava.lang.Exception - voidpublic static void unRegisterName(ClientIdentity identity, NameRegistrationResult nameRegistration, OnCompleteListener<NameRegistrationResult> completedCallback, java.lang.Object state) throws java.lang.Exception
identity - the client identitynameRegistration - specifies a name registration objectcompletedCallback - completion callbackstate - specifies a user-defined objectjava.lang.Exception - voidpublic static void associateId(ClientIdentity identity, NameRegistrationResult nameRegistration, OnCompleteListener<NameRegistrationResult> completedCallback, java.lang.Object state) throws java.lang.Exception
identity - the client identitynameRegistration - specifies a name registration objectcompletedCallback - completion callbackstate - specifies a user-defined objectjava.lang.Exception - voidpublic static void disAssociateId(ClientIdentity identity, NameRegistrationResult nameRegistration, OnCompleteListener<NameRegistrationResult> completedCallback, java.lang.Object state) throws java.lang.Exception
identity - the client identitynameRegistration - specifies a name registration objectcompletedCallback - completion callbackstate - specifies a user-defined objectjava.lang.Exception - void