## Uses of Interface
com.h3c.sdn.common.PacketModel

- Packages that use PacketModel
  Package | Description
  --- | ---
  com.h3c.sdn.ctl.diag | Model objects for path diagnostic application.
  com.h3c.sdn.diag | Definitions of the path diagnostic service.

- - ### Uses of PacketModel in com.h3c.sdn.ctl.diag

    Classes in com.h3c.sdn.ctl.diag that implement PacketModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DiagPacket` Contains the packet, packet identifier and last sent time stamp.

    Methods in com.h3c.sdn.ctl.diag with parameters of type PacketModel
    Modifier and Type | Method and Description
    --- | ---
    `int` | PacketSortComparator.`compare(PacketModel arg0, PacketModel arg1)`

  - ### Uses of PacketModel in com.h3c.sdn.diag

    Methods in com.h3c.sdn.diag that return PacketModel
    Modifier and Type | Method and Description
    --- | ---
    `PacketModel` | PathDiagnosticService.`findPacketModel(String pid)` Returns the packet model for the specified packet ID.
    `PacketModel` | PathDiagnosticService.`registerPacket(Packet packet)` Registers and returns a packet model for the specified packet.
    `PacketModel` | PathDiagnosticService.`unregisterPacket(String pid)` Unregisters the packet model with the specified packet ID.

    Methods in com.h3c.sdn.diag that return types with arguments of type PacketModel
    Modifier and Type | Method and Description
    --- | ---
    `List<PacketModel>` | PathDiagnosticService.`getPacketModels(ProtocolId packetType)` Returns all registered packet models present in the system.

Copyright © 2014. All Rights Reserved.