Package | Description |
---|---|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
Modifier and Type | Method and Description |
---|---|
static MutableMessage |
MessageFactory.create(Message msg,
MessageType type)
Creates a mutable OpenFlow message of the specified type, with
protocol version and transaction ID matching those of the given
message.
|
static MutableMessage |
MessageFactory.create(Message msg,
MessageType type,
Enum<?> subtype)
Creates a mutable OpenFlow message of the specified type and subtype,
with protocol version and transaction ID matching those of the given
message.
|
static MutableMessage |
MessageFactory.create(ProtocolVersion pv,
MessageType type)
Creates a mutable OpenFlow message of the specified type, with the
specified protocol version, assigning it the next available
transaction ID.
|
static MutableMessage |
MessageFactory.create(ProtocolVersion pv,
MessageType type,
Enum<?> subtype)
Creates a mutable OpenFlow message of the specified type and subtype,
with the specified protocol version, assigning it the next available
transaction ID.
|
static MutableMessage |
MessageFactory.exactMutableCopy(OpenflowMessage msg)
Creates a mutable (deep) copy of the specified OpenFlow message.
|
static MutableMessage |
MessageFactory.mutableCopy(OpenflowMessage msg)
Creates a mutable (deep) copy of the specified OpenFlow message.
|
Modifier and Type | Method and Description |
---|---|
static void |
MessageFactory.assignXid(MutableMessage msg)
Assigns the next available transaction ID to the specified message.
|
static void |
MessageFactory.copyXid(OpenflowMessage src,
MutableMessage dst)
Copies the transaction ID from given source message to the specified
destination message.
|
Copyright © 2015. All Rights Reserved.