| Package | Description |
|---|---|
| com.h3c.sdn.ha |
...
|
| com.h3c.sdn.misc.dsync | |
| com.h3c.sdn.misc.dsync.net |
| 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.
|
| 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.
|
| 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.
|
| 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) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
SyncUtil.marshal(SyncObj<?> so)
Marshals a given HA object into its byte form for transmission.
|
| 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. |
| 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.