public class ImPush extends java.lang.Object implements Push, java.io.Serializable
| Constructor and Description |
|---|
ImPush(ImType imType,
java.lang.String recipient,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndPoint() |
ImType |
getImType() |
java.lang.String |
getMessage() |
PushType |
getPushType() |
java.lang.String |
getRecipient() |
static ImPush |
googleTalk(java.lang.String recipient,
java.lang.String message) |
RequestErrors |
validate(RequestErrors errors) |
public ImPush(ImType imType, java.lang.String recipient, java.lang.String message)
public ImType getImType()
public PushType getPushType()
getPushType in interface Pushpublic java.lang.String getRecipient()
public java.lang.String getMessage()
public java.lang.String getEndPoint()
getEndPoint in interface Pushpublic RequestErrors validate(RequestErrors errors)
validate in interface ValidatableActionpublic static ImPush googleTalk(java.lang.String recipient, java.lang.String message)