Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.protocol
Class StompFrame.Command

java.lang.Object
  extended by org.projectodd.stilts.stomp.protocol.StompFrame.Command
Enclosing class:
StompFrame

public static class StompFrame.Command
extends Object


Field Summary
static StompFrame.Command ABORT
           
static StompFrame.Command ACK
           
static StompFrame.Command BEGIN
           
static Map<String,StompFrame.Command> commands
           
static StompFrame.Command COMMIT
           
static StompFrame.Command CONNECT
           
static StompFrame.Command CONNECTED
           
static StompFrame.Command DISCONNECT
           
static StompFrame.Command ERROR
           
static StompFrame.Command MESSAGE
           
static StompFrame.Command NACK
           
static StompFrame.Command RECEIPT
           
static StompFrame.Command SEND
           
static StompFrame.Command STOMP
           
static StompFrame.Command SUBSCRIBE
           
static StompFrame.Command UNSUBSCRIBE
           
 
Constructor Summary
StompFrame.Command(String name, boolean hasContent)
           
 
Method Summary
 boolean equals(Object o)
           
 byte[] getBytes()
           
 boolean hasContent()
           
 String toString()
           
static StompFrame.Command valueOf(String text)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commands

public static Map<String,StompFrame.Command> commands

STOMP

public static final StompFrame.Command STOMP

CONNECT

public static final StompFrame.Command CONNECT

CONNECTED

public static final StompFrame.Command CONNECTED

DISCONNECT

public static final StompFrame.Command DISCONNECT

SEND

public static final StompFrame.Command SEND

MESSAGE

public static final StompFrame.Command MESSAGE

SUBSCRIBE

public static final StompFrame.Command SUBSCRIBE

UNSUBSCRIBE

public static final StompFrame.Command UNSUBSCRIBE

BEGIN

public static final StompFrame.Command BEGIN

COMMIT

public static final StompFrame.Command COMMIT

ACK

public static final StompFrame.Command ACK

NACK

public static final StompFrame.Command NACK

ABORT

public static final StompFrame.Command ABORT

RECEIPT

public static final StompFrame.Command RECEIPT

ERROR

public static final StompFrame.Command ERROR
Constructor Detail

StompFrame.Command

public StompFrame.Command(String name,
                          boolean hasContent)
Method Detail

valueOf

public static StompFrame.Command valueOf(String text)

hasContent

public boolean hasContent()

getBytes

public byte[] getBytes()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.