javax.websocket.Encoder
, javax.websocket.Encoder.TextStream<ConfigurationUpdate>
public static class ConfigurationWebsocket.ConfigurationUpdateEncoder extends java.lang.Object implements javax.websocket.Encoder.TextStream<ConfigurationUpdate>
javax.websocket.Encoder.Binary<T extends java.lang.Object>, javax.websocket.Encoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Encoder.Text<T extends java.lang.Object>, javax.websocket.Encoder.TextStream<T extends java.lang.Object>
Constructor | Description |
---|---|
ConfigurationUpdateEncoder() |
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
|
void |
encode(ConfigurationUpdate object,
java.io.Writer writer) |
|
void |
init(javax.websocket.EndpointConfig config) |
public void encode(ConfigurationUpdate object, java.io.Writer writer) throws javax.websocket.EncodeException, java.io.IOException
encode
in interface javax.websocket.Encoder.TextStream<ConfigurationUpdate>
javax.websocket.EncodeException
java.io.IOException
public void init(javax.websocket.EndpointConfig config)
init
in interface javax.websocket.Encoder
public void destroy()
destroy
in interface javax.websocket.Encoder