## Uses of Interface
com.h3c.sdn.ha.SyncObj

- Packages that use SyncObj
  Package | Description
  --- | ---
  com.h3c.sdn.ha | ...
  com.h3c.sdn.misc.dsync |
  com.h3c.sdn.misc.dsync.net |

- - ### Uses of SyncObj in com.h3c.sdn.ha

    Methods in com.h3c.sdn.ha that return SyncObj
    Modifier and Type | Method and Description
    --- | ---
    `SyncObj<T>` | SyncObj.`unmarshal(byte[] payload)` Synthesizes the object from the given bytes that were retrieved from the transmitted medium.
    `SyncObj<?>` | SyncUtilService.`unmarshal(Class<?> syncClass, byte[] payload)` Synthesizes the object from the given bytes that were retrieved from the channel.

    Methods in com.h3c.sdn.ha with parameters of type SyncObj
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | SyncUtilService.`marshal(SyncObj<?> sObj)` Prepares the object for transmission/storage over the channel, by converting the object into bytes.

  - ### Uses of SyncObj in com.h3c.sdn.misc.dsync

    Classes in com.h3c.sdn.misc.dsync that implement SyncObj
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractSyncObj<T>` Default implementation of SyncObj abstraction, which uses Jackson's Smile data format, the "binary json" data interchange.

    Methods in com.h3c.sdn.misc.dsync that return SyncObj
    Modifier and Type | Method and Description
    --- | ---
    `abstract SyncObj<T>` | AbstractSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)` Convert a given raw ObjectNode to required SyncObject.
    `SyncObj<T>` | AbstractSyncObj.`unmarshal(byte[] payload)` Synthesizes the object from the given bytes that were retrieved from the transmitted medium.
    `static SyncObj<?>` | SyncUtil.`unmarshal(Class<?> syncClass, byte[] payload)`

    Methods in com.h3c.sdn.misc.dsync with parameters of type SyncObj
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | SyncUtil.`marshal(SyncObj<?> so)` Marshals a given HA object into its byte form for transmission.

  - ### Uses of SyncObj in com.h3c.sdn.misc.dsync.net

    Classes in com.h3c.sdn.misc.dsync.net that implement SyncObj
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BroadcastTreeSyncObj` A sync object for encoding and decoding `BroadcastTree` objects.
    `class` | `DpSuppressedPortsSyncObj` A Sync object for encoding and decoding `DpSuppressedPorts` objects.
    `class` | `LinkSyncObj` A Sync object for encoding and decoding `LinkDTO` objects.
    `class` | `MsgContextSyncObj`
    `class` | `NodeMessageSyncObj`
    `class` | `TopologyClusterSyncObj` A sync object for encoding and decoding `TopologyClusterDTO` objects.

    Methods in com.h3c.sdn.misc.dsync.net that return SyncObj
    Modifier and Type | Method and Description
    --- | ---
    `SyncObj<MsgContextSyncObj>` | MsgContextSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)`
    `SyncObj` | BroadcastTreeSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)`
    `SyncObj` | LinkSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)`
    `SyncObj` | TopologyClusterSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)`
    `SyncObj` | DpSuppressedPortsSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode nodes)`
    `SyncObj<NodeMessageSyncObj>` | NodeMessageSyncObj.`decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)`

Copyright © 2014. All Rights Reserved.