com.h3c.of.lib.msg

## Class HelloElement

- java.lang.Object
- - com.h3c.of.lib.OpenflowStructure
  - - com.h3c.of.lib.msg.HelloElement

- All Implemented Interfaces:
    Structure
  Direct Known Subclasses:
    HelloElemVersionBitmap

      public abstract class HelloElement
      extends OpenflowStructure

  Represents a Hello element. This abstract class serves as the base for all such elements.

- - ### Field Summary

    - ### Fields inherited from class com.h3c.of.lib.OpenflowStructure

      `version`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HelloElementType` | `getElementType()` Returns the hello element type.
    `int` | `getTotalLength()` Returns the total length of this element, in bytes.
    `String` | `toString()`

    - ### Methods inherited from class com.h3c.of.lib.OpenflowStructure

      `getVersion, hex, hex, toDebugString, validate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `OpenflowStructure`

    - #### getElementType

          public HelloElementType getElementType()

      Returns the hello element type.
      Returns:
        the element type

    - #### getTotalLength

          public int getTotalLength()

      Returns the total length of this element, in bytes.
      Returns:
        the total length, in bytes

Copyright © 2014. All Rights Reserved.