Examples of UnregisterMessageImpl


Examples of org.jboss.aerogear.simplepush.protocol.impl.UnregisterMessageImpl

        public UnregisterMessageImpl deserialize(final JsonParser jp, final DeserializationContext ctxt)
                throws IOException {
            final ObjectCodec oc = jp.getCodec();
            final JsonNode node = oc.readTree(jp);
            final JsonNode channelIdNode = node.get(RegisterMessage.CHANNEL_ID_FIELD);
            return new UnregisterMessageImpl(channelIdNode.asText());
        }
View Full Code Here

Examples of org.jboss.aerogear.simplepush.protocol.impl.UnregisterMessageImpl

    public static TextWebSocketFrame pingWebSocketFrame() {
        return new TextWebSocketFrame(toJson(new PingMessageImpl()));
    }

    public static TextWebSocketFrame unregisterChannelIdWebSocketFrame(final String channelId) {
        final String json = toJson(new UnregisterMessageImpl(channelId));
        return new TextWebSocketFrame(json);
    }
View Full Code Here

Examples of org.jboss.aerogear.simplepush.protocol.impl.UnregisterMessageImpl

        final String json = toJson(new UnregisterMessageImpl(channelId));
        return new TextWebSocketFrame(json);
    }

    public static String unregisterChannelIdMessageSockJSFrame(final String channelId) {
        return asSockjsMessage(toJson(new UnregisterMessageImpl(channelId)));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.