com.github.nkzawa.engineio.client.transports
Class WebSocket

java.lang.Object
  extended by com.github.nkzawa.emitter.Emitter
      extended by com.github.nkzawa.engineio.client.Transport
          extended by com.github.nkzawa.engineio.client.transports.WebSocket

public class WebSocket
extends Transport


Nested Class Summary
 
Nested classes/interfaces inherited from class com.github.nkzawa.engineio.client.Transport
Transport.Options, Transport.ReadyState
 
Nested classes/interfaces inherited from class com.github.nkzawa.emitter.Emitter
Emitter.Listener
 
Field Summary
static String NAME
           
 
Fields inherited from class com.github.nkzawa.engineio.client.Transport
EVENT_CLOSE, EVENT_DRAIN, EVENT_ERROR, EVENT_OPEN, EVENT_PACKET, EVENT_REQUEST_HEADERS, EVENT_RESPONSE_HEADERS, hostname, name, path, port, query, readyState, secure, socket, sslContext, timestampParam, timestampRequests, timestamps, writable
 
Constructor Summary
WebSocket(Transport.Options opts)
           
 
Method Summary
protected  void doClose()
           
protected  void doOpen()
           
protected  void onClose()
           
protected  String uri()
           
protected  void write(Packet[] packets)
           
 
Methods inherited from class com.github.nkzawa.engineio.client.Transport
close, onData, onData, onError, onOpen, onPacket, open, send
 
Methods inherited from class com.github.nkzawa.emitter.Emitter
emit, hasListeners, listeners, off, off, off, on, once
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

WebSocket

public WebSocket(Transport.Options opts)
Method Detail

doOpen

protected void doOpen()
Specified by:
doOpen in class Transport

write

protected void write(Packet[] packets)
Specified by:
write in class Transport

onClose

protected void onClose()
Overrides:
onClose in class Transport

doClose

protected void doClose()
Specified by:
doClose in class Transport

uri

protected String uri()


Copyright © 2014. All rights reserved.