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

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

public class Packet<T>
extends Object


Field Summary
 int attachments
           
 T data
           
 int id
           
 String nsp
           
 int type
           
 
Constructor Summary
Packet()
           
Packet(int type)
           
Packet(int 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

type

public int type

id

public int id

nsp

public String nsp

data

public T data

attachments

public int attachments
Constructor Detail

Packet

public Packet()

Packet

public Packet(int type)

Packet

public Packet(int type,
              T data)


Copyright © 2014. All rights reserved.