public class RegisterResponseImpl extends RegisterMessageImpl implements RegisterResponse
MessageType.TypePUSH_ENDPOINT__FIELD, STATUS_FIELDCHANNEL_ID_FIELDMESSSAGE_TYPE_FIELD| Constructor and Description |
|---|
RegisterResponseImpl(String channelId,
Status status,
String pushEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPushEndpoint()
Returns the push endpoint for this channel.
|
Status |
getStatus()
Returns the result of the Register call
|
String |
toString() |
getChannelId, getMessageTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChannelIdgetMessageTypepublic Status getStatus()
RegisterResponsegetStatus in interface RegisterResponseString the channelId.public String getPushEndpoint()
RegisterResponsegetPushEndpoint in interface RegisterResponseString the endpoint which can be used to trigger notifications.public String toString()
toString in class RegisterMessageImplCopyright © 2014 JBoss by Red Hat. All Rights Reserved.