com.github.nkzawa.engineio.parser
Class Packet<T>

java.lang.Object
  extended by com.github.nkzawa.engineio.parser.Packet<T>

public class Packet<T>
extends Object


Field Summary
static String CLOSE
           
 T data
           
static String ERROR
           
static String MESSAGE
           
static String NOOP
           
static String OPEN
           
static String PING
           
static String PONG
           
 String type
           
static String UPGRADE
           
 
Constructor Summary
Packet(String type)
           
Packet(String type, T data)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPEN

public static final String OPEN
See Also:
Constant Field Values

CLOSE

public static final String CLOSE
See Also:
Constant Field Values

PING

public static final String PING
See Also:
Constant Field Values

PONG

public static final String PONG
See Also:
Constant Field Values

UPGRADE

public static final String UPGRADE
See Also:
Constant Field Values

MESSAGE

public static final String MESSAGE
See Also:
Constant Field Values

NOOP

public static final String NOOP
See Also:
Constant Field Values

ERROR

public static final String ERROR
See Also:
Constant Field Values

type

public String type

data

public T data
Constructor Detail

Packet

public Packet(String type)

Packet

public Packet(String type,
              T data)


Copyright © 2014. All rights reserved.