Skip navigation links
D E G I M O R T U V W 

D

decode(Reader) - Method in class org.diirt.pods.web.common.MessageDecoder
 
destroy() - Method in class org.diirt.pods.web.common.MessageDecoder
 
destroy() - Method in class org.diirt.pods.web.common.MessageEncoder
 

E

encode(Message, Writer) - Method in class org.diirt.pods.web.common.MessageEncoder
 

G

getChannel() - Method in class org.diirt.pods.web.common.MessageSubscribe
The channel name.
getError() - Method in class org.diirt.pods.web.common.MessageErrorEvent
The error message.
getError() - Method in class org.diirt.pods.web.common.MessageWriteCompletedEvent
The error message if the write was unsuccessful or null.
getId() - Method in class org.diirt.pods.web.common.Message
The id of the channel this message refers to.
getId() - Method in exception org.diirt.pods.web.common.MessageDecodeException
 
getJObject() - Method in exception org.diirt.pods.web.common.MessageDecodeException
 
getMaxRate() - Method in class org.diirt.pods.web.common.MessageSubscribe
The maximum notification rate.
getMessage() - Method in class org.diirt.pods.web.common.Message
The message type.
getMessageType() - Method in exception org.diirt.pods.web.common.MessageDecodeException
 
getType() - Method in class org.diirt.pods.web.common.MessageSubscribe
The requested type for values.
getValue() - Method in class org.diirt.pods.web.common.MessageValueEvent
The new value.
getValue() - Method in class org.diirt.pods.web.common.MessageWrite
The value to write.

I

init(EndpointConfig) - Method in class org.diirt.pods.web.common.MessageDecoder
 
init(EndpointConfig) - Method in class org.diirt.pods.web.common.MessageEncoder
 
isConnected() - Method in class org.diirt.pods.web.common.MessageConnectionEvent
Whether the channel is connected.
isReadOnly() - Method in class org.diirt.pods.web.common.MessageSubscribe
Whether the channel should be read-only.
isSuccessful() - Method in class org.diirt.pods.web.common.MessageWriteCompletedEvent
Whether the write was successful.
isWriteConnected() - Method in class org.diirt.pods.web.common.MessageConnectionEvent
Whether the channel can be written to.

M

Message - Class in org.diirt.pods.web.common
A message being sent as part of the WebPods protocol.
Message.MessageType - Enum in org.diirt.pods.web.common
The type of message.
MessageConnectionEvent - Class in org.diirt.pods.web.common
Message event for change of connection status.
MessageConnectionEvent(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageConnectionEvent
Creates a new message based on the JSON representation.
MessageConnectionEvent(int, boolean, boolean) - Constructor for class org.diirt.pods.web.common.MessageConnectionEvent
Creates a new message based on the given parameters.
MessageDecodeException - Exception in org.diirt.pods.web.common
Exception for decoded message that do match the spec.
MessageDecodeException(String, String, JsonObject) - Constructor for exception org.diirt.pods.web.common.MessageDecodeException
 
MessageDecoder - Class in org.diirt.pods.web.common
Decodes messages from a JSON text stream to a Message object.
MessageDecoder() - Constructor for class org.diirt.pods.web.common.MessageDecoder
 
MessageEncoder - Class in org.diirt.pods.web.common
Encodes messages from a Message object to a JSON text stream.
MessageEncoder() - Constructor for class org.diirt.pods.web.common.MessageEncoder
 
MessageErrorEvent - Class in org.diirt.pods.web.common
Message event for errors.
MessageErrorEvent(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageErrorEvent
Creates a new message based on the JSON representation.
MessageErrorEvent(int, String) - Constructor for class org.diirt.pods.web.common.MessageErrorEvent
Creates a new message based on the given parameters.
MessagePause - Class in org.diirt.pods.web.common
Message to pause notifications from a channel.
MessagePause(JsonObject) - Constructor for class org.diirt.pods.web.common.MessagePause
Creates a new message based on the JSON representation.
MessagePause(int) - Constructor for class org.diirt.pods.web.common.MessagePause
Creates a new message based on the given parameters.
MessageResume - Class in org.diirt.pods.web.common
Message to resume notifications of a channel.
MessageResume(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageResume
Creates a new message based on the JSON representation.
MessageResume(int) - Constructor for class org.diirt.pods.web.common.MessageResume
Creates a new message based on the given parameters.
MessageSubscribe - Class in org.diirt.pods.web.common
Message to subscribe to a channel.
MessageSubscribe(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageSubscribe
Creates a new message based on the JSON representation.
MessageSubscribe(int, String, String, int, boolean) - Constructor for class org.diirt.pods.web.common.MessageSubscribe
Creates a new message based on the given parameters.
MessageUnsubscribe - Class in org.diirt.pods.web.common
Message to unsubscribe from a channel.
MessageUnsubscribe(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageUnsubscribe
Creates a new message based on the JSON representation.
MessageUnsubscribe(int) - Constructor for class org.diirt.pods.web.common.MessageUnsubscribe
Creates a new message based on the given parameters.
MessageValueEvent - Class in org.diirt.pods.web.common
Message event for change of value.
MessageValueEvent(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageValueEvent
Creates a new message based on the JSON representation.
MessageValueEvent(int, Object) - Constructor for class org.diirt.pods.web.common.MessageValueEvent
Creates a new message based on the given parameters.
MessageWrite - Class in org.diirt.pods.web.common
Message to write a new value to a channel.
MessageWrite(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageWrite
Creates a new message based on the JSON representation.
MessageWrite(int, Object) - Constructor for class org.diirt.pods.web.common.MessageWrite
Creates a new message based on the given parameters.
MessageWriteCompletedEvent - Class in org.diirt.pods.web.common
Message event for the response to a write.
MessageWriteCompletedEvent(JsonObject) - Constructor for class org.diirt.pods.web.common.MessageWriteCompletedEvent
Creates a new message based on the JSON representation.
MessageWriteCompletedEvent(int) - Constructor for class org.diirt.pods.web.common.MessageWriteCompletedEvent
Creates a new message based on the given parameters.
MessageWriteCompletedEvent(int, String) - Constructor for class org.diirt.pods.web.common.MessageWriteCompletedEvent
Creates a new message based on the given parameters.
missingMandatoryAttribute(JsonObject, String) - Static method in exception org.diirt.pods.web.common.MessageDecodeException
 

O

org.diirt.pods.web.common - package org.diirt.pods.web.common
Common elements for WebPods client and server implementation.

R

readValueFromJson(JsonValue) - Static method in class org.diirt.pods.web.common.Message
Converts the given JSON value to either a vtype, a Java time or a ListNumber.

T

toJson(Writer) - Method in class org.diirt.pods.web.common.Message
Serializes this message as JSON onto the given writer.
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageConnectionEvent
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageErrorEvent
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessagePause
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageResume
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageSubscribe
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageUnsubscribe
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageValueEvent
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageWrite
 
toJson(Writer) - Method in class org.diirt.pods.web.common.MessageWriteCompletedEvent
 

U

unsupportedMessage(JsonObject) - Static method in exception org.diirt.pods.web.common.MessageDecodeException
 

V

valueOf(String) - Static method in enum org.diirt.pods.web.common.Message.MessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.diirt.pods.web.common.Message.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeValueToJson(JsonGenerator, String, Object) - Static method in class org.diirt.pods.web.common.Message
Converts the given value to a JSON representation.
wrongAttributeType(JsonObject, String, String) - Static method in exception org.diirt.pods.web.common.MessageDecodeException
 
D E G I M O R T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.