com.kuka.roboticsAPI.controllerModel.sunrise
Class StatePortSerializer

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.StatePortSerializer

public final class StatePortSerializer
extends Object

Serializer for state port data.


Method Summary
static Message createMessage(com.kuka.roboticsAPI.controllerModel.StatePortData.PropertyState state)
          Creates a message containing the property state.
static void fillMessage(Message message, com.kuka.roboticsAPI.controllerModel.StatePortData statePort)
          Fills a message with the given state port data.
static byte[] serialize(com.kuka.roboticsAPI.controllerModel.StatePortData statePort)
          Serializes the StatePort data as a blob.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serialize

public static byte[] serialize(com.kuka.roboticsAPI.controllerModel.StatePortData statePort)
Serializes the StatePort data as a blob.

Parameters:
statePort - the statePort with the content to serialize.
Returns:
byte array containing the blob data
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

fillMessage

public static void fillMessage(Message message,
                               com.kuka.roboticsAPI.controllerModel.StatePortData statePort)
Fills a message with the given state port data.

Parameters:
message - the message to fill.
statePort - the statePort with the content to serialize.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

createMessage

public static Message createMessage(com.kuka.roboticsAPI.controllerModel.StatePortData.PropertyState state)
Creates a message containing the property state.

Parameters:
state - the statePort state with the content to serialize.
Returns:
created message
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.