com.caucho.quercus.lib
Class WebSocketModule

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
      extended by com.caucho.quercus.lib.WebSocketModule
All Implemented Interfaces:
QuercusModule

public class WebSocketModule
extends AbstractQuercusModule


Nested Class Summary
static class WebSocketModule.QuercusWebSocketListener
           
 
Field Summary
 
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
 
Constructor Summary
WebSocketModule()
           
 
Method Summary
static Value websocket_read(Env env)
          Reads a string from the websocket.
static SocketLinkDuplexController websocket_start(Env env, StringValue path)
          Reads a string from the websocket.
static Value websocket_write(Env env, StringValue string)
          Writes a string to the websocket.
 
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions, getLoadedExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketModule

public WebSocketModule()
Method Detail

websocket_write

public static Value websocket_write(Env env,
                                    StringValue string)
Writes a string to the websocket.


websocket_read

public static Value websocket_read(Env env)
Reads a string from the websocket.


websocket_start

public static SocketLinkDuplexController websocket_start(Env env,
                                                         StringValue path)
Reads a string from the websocket.