## Uses of Class
com.h3c.of.lib.msg.MessageType

- Packages that use MessageType
  Package | Description
  --- | ---
  com.h3c.of.common | Code shared by the OpenFlow Controller and Mock OpenFlow Switch implementations.
  com.h3c.of.ctl | Public API for the OpenFlow Controller.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.
  com.h3c.of.sw | Provides mock implementations of OpenFlow switches.
  com.h3c.sdn.misc.net |

- - ### Uses of MessageType in com.h3c.of.common

    Methods in com.h3c.of.common with parameters of type MessageType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ProgrammableSink.`expect(DataPathId dpid, MessageType type)` Adds the expectation that the next message is of the specified type.
    `void` | ProgrammableSink.`expect(DataPathId dpid, MessageType type, AbstractMsgAssertor ma)` Adds the expectation that the next message is of the specified type, and that the assertions embodied in the message assertor, when run against the message, are all true.
    `void` | ProgrammableSink.`expect(MessageType type)` Adds the expectation that the next message is of the specified type, (and expected from the default datapath).
    `void` | ProgrammableSink.`expect(MessageType type, AbstractMsgAssertor ma)` Adds the expectation that the next message is of the specified type, and that the assertions embodied in the message assertor, when run against the message, are all true, (and expected from the default datapath).

  - ### Uses of MessageType in com.h3c.of.ctl

    Method parameters in com.h3c.of.ctl with type arguments of type MessageType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ControllerService.`addMessageListener(MessageListener listener, Set<MessageType> types)` Adds the specified message listener to the controller.
    `void` | ControllerServiceAdapter.`addMessageListener(MessageListener listener, Set<MessageType> types)`

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

    Methods in com.h3c.of.lib.msg that return MessageType
    Modifier and Type | Method and Description
    --- | ---
    `MessageType` | OpenflowMessage.`getType()`
    `MessageType` | Message.`getType()` Returns the message type.
    `static MessageType` | MessageType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static MessageType[]` | MessageType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.h3c.of.lib.msg with parameters of type MessageType
    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.

    Constructors in com.h3c.of.lib.msg with parameters of type MessageType
    Constructor and Description
    `OpenflowMessage.Header(ProtocolVersion pv, MessageType type, long xid)`

  - ### Uses of MessageType in com.h3c.of.sw

    Methods in com.h3c.of.sw with parameters of type MessageType
    Modifier and Type | Method and Description
    --- | ---
    `void` | MockOpenflowSwitch.`cache(MessageType messageType, OpenflowMessage msg)` The command processor has asked us to cache this outgoing message for validation later.

  - ### Uses of MessageType in com.h3c.sdn.misc.net

    Methods in com.h3c.sdn.misc.net that return MessageType
    Modifier and Type | Method and Description
    --- | ---
    `MessageType` | MsgContextDTO.`getType()`

    Constructors in com.h3c.sdn.misc.net with parameters of type MessageType
    Constructor and Description
    `MsgContextDTO(ProtocolVersion pv, int auxId, DataPathId dpid, String openflowType, MessageType type, long xid, BufferId bufferId, BigPortNumber inPort, BigPortNumber inPhyPort, int totalLen, PacketInReason reason, TableId tableId, long cookie, Match match, byte[] data)`

Copyright © 2014. All Rights Reserved.