com.sun.grizzly.cometd.bayeux
Interface Verb

All Known Implementing Classes:
Advice, ConnectRequest, ConnectResponse, Data, DeliverResponse, DisconnectRequest, DisconnectResponse, Ext, HandshakeRequest, HandshakeResponse, Ping, PublishRequest, PublishResponse, ReconnectRequest, ReconnectResponse, Status, SubscribeRequest, SubscribeResponse, UnsubscribeRequest, UnsubscribeResponse, VerbBase

public interface Verb

Bayeux Verb interface used for implementing the reserved meta-channel Verbs: * handshake * connect * reconnect * disconnect * status * subscribe * unsubscribe * ping

Author:
Jeanfrancois Arcand

Nested Class Summary
static class Verb.Type
           
 
Method Summary
 Verb.Type getType()
          Return the Verb's type.
 boolean isValid()
          Check whether the Verb is valid.
 String toJSON()
          Return the JSON representation of the Verb.
 

Method Detail

toJSON

String toJSON()
Return the JSON representation of the Verb.


getType

Verb.Type getType()
Return the Verb's type.


isValid

boolean isValid()
Check whether the Verb is valid.



Copyright © 2013 Oracle Corporation. All Rights Reserved.