Example usage for javax.websocket Decoder.Text interface-usage

List of usage examples for javax.websocket Decoder.Text interface-usage

Introduction

In this page you can find the example usage for javax.websocket Decoder.Text interface-usage.

Usage

From source file org.sample.encoder.MyMessageDecoder.java

/**
 * @author Arun Gupta
 */
public class MyMessageDecoder implements Decoder.Text<MyMessage> {

    @Override

From source file org.sample.whiteboard.FigureDecoder.java

/**
 * @author Arun Gupta
 */
public class FigureDecoder implements Decoder.Text<Figure> {
    @Override
    public Figure decode(String string) throws DecodeException {