com.atlassian.mywork.host.service
Interface ClientService

All Known Implementing Classes:
ClientServiceImpl

public interface ClientService

Provides services related to remote instances acting as clients.


Method Summary
 void clientPong(java.lang.String username, java.lang.String appId)
          Informs local instance that notifications and tasks can be created for a user from the remote instance.
 void updatePotentialClient(java.lang.String appId)
          Updates remote client registration.
 void verifyAuth(java.lang.String username)
          Informs remote servers that we are interested in tasks and notifications for the given user.
 

Method Detail

verifyAuth

void verifyAuth(java.lang.String username)
Informs remote servers that we are interested in tasks and notifications for the given user.

Parameters:
username - user that is interested in tasks and notifications

clientPong

void clientPong(java.lang.String username,
                java.lang.String appId)
Informs local instance that notifications and tasks can be created for a user from the remote instance.

Parameters:
username - username of the authorised user
appId - application id of the remote instance

updatePotentialClient

void updatePotentialClient(java.lang.String appId)
Updates remote client registration.

Parameters:
appId - application id of the remote client


Copyright © 2012 Atlassian. All Rights Reserved.