class Teak.Channel.Reply

Class used for Teak#setChannelState(String, String) and Teak#setCategoryState(String, String, String) replies.

Attributes

Name Type Description

error

final boolean

state

final State

channel

final Type

category

final String

errors

final Map<String, String[]>

Static Attributes

Name Type Description

NoInstance

final Reply

Methods

Reply

 Reply(boolean error,
       State state,
       Type channel,
       Map<String, String[]> errors);

Parameters

Name Description

error

state

channel

errors

Reply

 Reply(boolean error,
       State state,
       Type channel,
       String category,
       Map<String, String[]> errors);

Parameters

Name Description

error

state

channel

category

errors

toJSON

JSONObject toJSON();