net.takanotsume.yo
Class YoService
java.lang.Object
net.takanotsume.yo.YoService
public class YoService
- extends Object
Execute Yo Api
- Author:
- Akihito Tanaka
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YoService
public YoService()
sendYoAll
public static void sendYoAll(String token)
throws YoFailedException
- Send a Yo to all subscribers
- Parameters:
token -
- Throws:
YoFailedException
sendYo
public static void sendYo(String token,
String username)
throws YoFailedException
- Send a Yo to individual username
- Parameters:
token - username -
- Throws:
YoFailedException
Copyright © 2004-2014. All Rights Reserved.