Package | Description |
---|---|
com.hp.of.lib.mp |
Representations of OpenFlow Protocol Multipart Message bodies.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
OfmMutableMultipartRequest |
OfmMutableMultipartRequest.type(MultipartType type)
Sets the type of this multipart request; Since 1.0.
|
Copyright © 2016. All Rights Reserved.