org.jmythapi.protocol.request
Enum EPlaybackSockEventsMode

java.lang.Object
  extended by java.lang.Enum<EPlaybackSockEventsMode>
      extended by org.jmythapi.protocol.request.EPlaybackSockEventsMode
All Implemented Interfaces:
Serializable, Comparable<EPlaybackSockEventsMode>

public enum EPlaybackSockEventsMode
extends Enum<EPlaybackSockEventsMode>

This Enum can be used to define, which types of events a client is interested to receive via a playback- or monitor socket.

See Also:
IBackend.annotatePlayback(String, EPlaybackSockEventsMode), playbacksock.h, IBackend.annotatePlayback(String, EPlaybackSockEventsMode)

Enum Constant Summary
NON_SYSTEM
          Non-system events.
NONE
          No events.
NORMAL
          All events.
SYSTEM_ONLY
          System-only events.
 
Method Summary
static EPlaybackSockEventsMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EPlaybackSockEventsMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final EPlaybackSockEventsMode NONE
No events.

The client wants to receive no events.


NORMAL

public static final EPlaybackSockEventsMode NORMAL
All events.

The client wants to receive all events.


NON_SYSTEM

public static final EPlaybackSockEventsMode NON_SYSTEM
Non-system events.

The client wants to receive non-system events.

Since:
57

SYSTEM_ONLY

public static final EPlaybackSockEventsMode SYSTEM_ONLY
System-only events.

The client wants to receive only system events.

Since:
57
Method Detail

values

public static EPlaybackSockEventsMode[] 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 (EPlaybackSockEventsMode c : EPlaybackSockEventsMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EPlaybackSockEventsMode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.