## Uses of Class
com.h3c.of.lib.mp.MultipartType

- Packages that use MultipartType
  Package | Description
  --- | ---
  com.h3c.of.lib.mp | Representations of OpenFlow Protocol Multipart Message bodies.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.

- - ### Uses of MultipartType in com.h3c.of.lib.mp

    Methods in com.h3c.of.lib.mp that return MultipartType
    Modifier and Type | Method and Description
    --- | ---
    `static MultipartType` | MultipartType.`decode(int code, ProtocolVersion pv)` Decodes the multipart message type code and returns the corresponding constant.
    `static MultipartType` | MpBodyFactory.`getType(MultipartBody body)` Returns the multipart-type corresponding to the specified multipart body instance.
    `static MultipartType` | MultipartType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static MultipartType[]` | MultipartType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.h3c.of.lib.mp with parameters of type MultipartType
    Modifier and Type | Method and Description
    --- | ---
    `static MultipartBody` | MpBodyFactory.`createReplyBody(ProtocolVersion pv, MultipartType type)` Creates the mutable multipart reply body for the given type and protocol version.
    `static MultipartBody` | MpBodyFactory.`createReplyBodyElement(ProtocolVersion pv, MultipartType type)` Creates the mutable multipart reply body array element for the given type and protocol version.
    `static MultipartBody` | MpBodyFactory.`createRequestBody(ProtocolVersion pv, MultipartType type)` Creates the mutable multipart request body for the given type, for the given protocol version.
    `static MultipartBody` | MpBodyFactory.`parseReplyBody(MultipartType type, OfPacketReader pkt, ProtocolVersion pv)` Parses a multipart reply message body from the supplied buffer.
    `static MultipartBody` | MpBodyFactory.`parseRequestBody(MultipartType type, OfPacketReader pkt, ProtocolVersion pv)` Parses a multipart request message body from the supplied buffer.
    `static void` | MpBodyFactory.`setReplyType(OfmMutableMultipartReply msg, MultipartType type)` Sets the type in the message header, and adds the appropriate body.
    `static void` | MpBodyFactory.`setRequestType(OfmMutableMultipartRequest msg, MultipartType type)` Sets the type in the message header, and adds the appropriate body, if any.

  - ### Uses of MultipartType in com.h3c.of.lib.msg

    Methods in com.h3c.of.lib.msg that return MultipartType
    Modifier and Type | Method and Description
    --- | ---
    `MultipartType` | OfmMultipartRequest.`getMultipartType()` Returns the multipart message type; Since 1.3.
    `MultipartType` | OfmMultipartReply.`getMultipartType()` Returns the multipart message type; Since 1.3.

    Methods in com.h3c.of.lib.msg with parameters of type MultipartType
    Modifier and Type | Method and Description
    --- | ---
    `OfmMutableMultipartRequest` | OfmMutableMultipartRequest.`type(MultipartType type)` Sets the type of this multipart request; Since 1.0.

Copyright © 2014. All Rights Reserved.