com.eurotech.framework.net.admin.modem.sierra
Enum CnsOpTypes

java.lang.Object
  extended by java.lang.Enum<CnsOpTypes>
      extended by com.eurotech.framework.net.admin.modem.sierra.CnsOpTypes
All Implemented Interfaces:
Serializable, Comparable<CnsOpTypes>

public enum CnsOpTypes
extends Enum<CnsOpTypes>


Enum Constant Summary
OPTYPE_ERROR
          CnS Operation Type - 'Error'
OPTYPE_GET
          CnS Operation Type - 'GetRequest'
OPTYPE_GETREP
          CnS Operation Type - reply to 'GetRequest'
OPTYPE_NOTIF_DISABLE
          CnS Operation Type - 'Notification Disable'
OPTYPE_NOTIF_DISABLE_ACK
          CnS Operation Type - acknowledge to 'Notification Disable'
OPTYPE_NOTIF_ENB
          CnS Operation Type - 'NotificationEnable'
OPTYPE_NOTIF_ENB_REP
          CnS Operation Type - reply to 'NotificationEnable'
OPTYPE_NOTIFICATION
          CnS Operation Type - 'Notification'
OPTYPE_SET
          CnS Operation Type - 'Set' (CnS command)
OPTYPE_SETACK
          CnS Operation Type - 'SetAck' (acknowledge to Set)
 
Method Summary
 byte getOpType()
           
static CnsOpTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CnsOpTypes[] 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

OPTYPE_GET

public static final CnsOpTypes OPTYPE_GET
CnS Operation Type - 'GetRequest'


OPTYPE_GETREP

public static final CnsOpTypes OPTYPE_GETREP
CnS Operation Type - reply to 'GetRequest'


OPTYPE_SET

public static final CnsOpTypes OPTYPE_SET
CnS Operation Type - 'Set' (CnS command)


OPTYPE_SETACK

public static final CnsOpTypes OPTYPE_SETACK
CnS Operation Type - 'SetAck' (acknowledge to Set)


OPTYPE_NOTIF_ENB

public static final CnsOpTypes OPTYPE_NOTIF_ENB
CnS Operation Type - 'NotificationEnable'


OPTYPE_NOTIF_ENB_REP

public static final CnsOpTypes OPTYPE_NOTIF_ENB_REP
CnS Operation Type - reply to 'NotificationEnable'


OPTYPE_NOTIFICATION

public static final CnsOpTypes OPTYPE_NOTIFICATION
CnS Operation Type - 'Notification'


OPTYPE_NOTIF_DISABLE

public static final CnsOpTypes OPTYPE_NOTIF_DISABLE
CnS Operation Type - 'Notification Disable'


OPTYPE_NOTIF_DISABLE_ACK

public static final CnsOpTypes OPTYPE_NOTIF_DISABLE_ACK
CnS Operation Type - acknowledge to 'Notification Disable'


OPTYPE_ERROR

public static final CnsOpTypes OPTYPE_ERROR
CnS Operation Type - 'Error'

Method Detail

values

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

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

valueOf

public static CnsOpTypes 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

getOpType

public byte getOpType()


Copyright © 2013. All Rights Reserved.