com.notifo.client
Interface NotifoClient

All Known Implementing Classes:
NotifoHttpClient

public interface NotifoClient

Author:
sscanlon

Method Summary
 NotifoResponse sendMessage(NotifoMessage message)
           
 NotifoResponse sendMessage(String messageBody)
          Send a message to the default user (you)
 NotifoResponse sendMessage(String to, String messageBody)
          Send a message to a particular user
 NotifoResponse subscribeUser(String userName)
           
 

Method Detail

sendMessage

NotifoResponse sendMessage(NotifoMessage message)
                           throws NotifoException
Parameters:
messageBody -
Returns:
Throws:
NotifoException

sendMessage

NotifoResponse sendMessage(String to,
                           String messageBody)
                           throws NotifoException
Send a message to a particular user

Throws:
NotifoException

sendMessage

NotifoResponse sendMessage(String messageBody)
                           throws NotifoException
Send a message to the default user (you)

Throws:
NotifoException

subscribeUser

NotifoResponse subscribeUser(String userName)
                             throws NotifoException
Parameters:
userName -
Returns:
Throws:
NotifoException


Copyright © 2011. All Rights Reserved.