|
AeroGear SimplePush Server API 0.11.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aerogear.simplepush.server.DefaultChannel
public class DefaultChannel
| Constructor Summary | |
|---|---|
DefaultChannel(String uaid,
String channelId,
long version,
String endpointToken)
|
|
DefaultChannel(String uaid,
String channelId,
String endpointToken)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getChannelId()
Returns the channelId for this channel. |
String |
getEndpointToken()
Returns the endpoint token for this channel. |
String |
getUAID()
A unique identifier for a UserAgent created by the SimplePush Server. |
long |
getVersion()
Returns the version for this channel. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultChannel(String uaid,
String channelId,
String endpointToken)
public DefaultChannel(String uaid,
String channelId,
long version,
String endpointToken)
| Method Detail |
|---|
public String getUAID()
Channel
getUAID in interface ChannelString a unique id for a UserAgent, or an empty String if the UserAgent has not
been assigned a uaid yet, or wants to reset it, which will create a new one.public String getChannelId()
Channel
getChannelId in interface ChannelString this channels identifier.public long getVersion()
Channel
getVersion in interface Channellong the version for this channel.public String getEndpointToken()
Channel
getEndpointToken in interface ChannelString the endpoint token.public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
AeroGear SimplePush Server API 0.11.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||