org.simantics.databoard.channel
Class CommandSpec

java.lang.Object
  extended by org.simantics.databoard.channel.CommandSpec

public class CommandSpec
extends java.lang.Object

This class carries a specification for a single command.

Author:
Toni Kalajainen

Field Summary
 Variant commandId
          Well-known id of the service
 Datatype errorType
          Description of the error data.
 Datatype requestType
          Description of the request data.
 Datatype responseType
          Description of the response data.
 
Constructor Summary
CommandSpec(Variant commandId, Datatype requestType, Datatype responseType, Datatype errorType)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandId

public final Variant commandId
Well-known id of the service


requestType

public final Datatype requestType
Description of the request data. Typically a record type.


responseType

public final Datatype responseType
Description of the response data. Typically a record type.


errorType

public final Datatype errorType
Description of the error data. Typically a union type.

Constructor Detail

CommandSpec

public CommandSpec(Variant commandId,
                   Datatype requestType,
                   Datatype responseType,
                   Datatype errorType)