org.glassfish.cafe.api
Interface Registration

All Superinterfaces:
UserProcedure

public interface Registration
extends UserProcedure

This entity is responsible for registering a user to a remote endpoint. The user is in this case a real user who has mandated an application to register on his behalf, or an application acting as a user itself.

Registration is a UserProcedure. Each invocation of the update() method results in sending a REGISTER method in the network, publishing the user's contact address and authenticating the user. The expiration time of the User procedure applies to the validity of the registration.

Events received after invoking the update() method indicate whether the registration is successful or not.

Example usage of initiating a registration:

 ImsRegistration registration = communcationSession.createRegistration(fromUserId);
 registration.update();
 


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.cafe.api.UserProcedure
UserProcedure.State
 
Method Summary
 
Methods inherited from interface org.glassfish.cafe.api.UserProcedure
addAgent, end, getAgent, getAgents, getExpirationTime, getMessage, getState, getUserId, removeAgent, setExpirationTime, update
 



Copyright © 2010. All Rights Reserved.