Package com.microsoft.signalr
Enum HubMessageType
- java.lang.Object
-
- java.lang.Enum<HubMessageType>
-
- com.microsoft.signalr.HubMessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HubMessageType>
public enum HubMessageType extends java.lang.Enum<HubMessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL_INVOCATION
CLOSE
COMPLETION
INVOCATION
INVOCATION_BINDING_FAILURE
PING
STREAM_BINDING_FAILURE
STREAM_INVOCATION
STREAM_ITEM
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HubMessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HubMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVOCATION
public static final HubMessageType INVOCATION
-
STREAM_ITEM
public static final HubMessageType STREAM_ITEM
-
COMPLETION
public static final HubMessageType COMPLETION
-
STREAM_INVOCATION
public static final HubMessageType STREAM_INVOCATION
-
CANCEL_INVOCATION
public static final HubMessageType CANCEL_INVOCATION
-
PING
public static final HubMessageType PING
-
CLOSE
public static final HubMessageType CLOSE
-
INVOCATION_BINDING_FAILURE
public static final HubMessageType INVOCATION_BINDING_FAILURE
-
STREAM_BINDING_FAILURE
public static final HubMessageType STREAM_BINDING_FAILURE
-
-
Method Detail
-
values
public static HubMessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HubMessageType c : HubMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HubMessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-