SYMBOL INDEX (428 symbols across 64 files) FILE: examples/StatusApplication.php class StatusApplication (line 10) | class StatusApplication extends Application method onConnect (line 18) | public function onConnect($client) method onDisconnect (line 25) | public function onDisconnect($client) method onData (line 31) | public function onData($data, $client) method setServerInfo (line 36) | public function setServerInfo($serverInfo) method clientConnected (line 47) | public function clientConnected($ip, $port) method clientDisconnected (line 64) | public function clientDisconnected($ip, $port) method clientActivity (line 85) | public function clientActivity($port) method statusMsg (line 91) | public function statusMsg($text, $type = 'info') method _sendServerinfo (line 103) | private function _sendServerinfo($client) method _sendAll (line 117) | private function _sendAll($encodedData) FILE: lib/SplClassLoader.php class SplClassLoader (line 20) | class SplClassLoader method __construct (line 33) | public function __construct($ns = null, $includePath = null) method setNamespaceSeparator (line 44) | public function setNamespaceSeparator($sep) method getNamespaceSeparator (line 54) | public function getNamespaceSeparator() method setIncludePath (line 64) | public function setIncludePath($includePath) method getIncludePath (line 74) | public function getIncludePath() method setFileExtension (line 84) | public function setFileExtension($fileExtension) method getFileExtension (line 94) | public function getFileExtension() method register (line 102) | public function register() method unregister (line 110) | public function unregister() method loadClass (line 121) | public function loadClass($className) FILE: lib/Wrench/Application/Application.php class Application (line 8) | abstract class Application method onData (line 33) | abstract public function onData($payload, $connection); FILE: lib/Wrench/Application/EchoApplication.php class EchoApplication (line 11) | class EchoApplication extends Application method onData (line 16) | public function onData($data, $client) FILE: lib/Wrench/Application/ServerTimeApplication.php class ServerTimeApplication (line 13) | class ServerTimeApplication extends Application method onConnect (line 21) | public function onConnect($client) method onUpdate (line 29) | public function onUpdate() FILE: lib/Wrench/BasicServer.php class BasicServer (line 7) | class BasicServer extends Server method __construct (line 18) | public function __construct($uri, array $options = array()) method configure (line 29) | protected function configure(array $options) method configureRateLimiter (line 41) | protected function configureRateLimiter() method configureOriginPolicy (line 51) | protected function configureOriginPolicy() method addAllowedOrigin (line 66) | public function addAllowedOrigin($origin) FILE: lib/Wrench/Client.php class Client (line 23) | class Client extends Configurable method __construct (line 81) | public function __construct($uri, $origin, array $options = array()) method configure (line 110) | protected function configure(array $options) method configureSocket (line 123) | protected function configureSocket() method configurePayloadHandler (line 132) | protected function configurePayloadHandler() method onData (line 145) | public function onData(Payload $payload) method addRequestHeader (line 162) | public function addRequestHeader($name, $value) method sendData (line 175) | public function sendData($data, $type = Protocol::TYPE_TEXT, $masked =... method receive (line 198) | public function receive() method connect (line 220) | public function connect() method isConnected (line 247) | public function isConnected() method disconnect (line 256) | public function disconnect() FILE: lib/Wrench/Connection.php class Connection (line 28) | class Connection extends Configurable method __construct (line 94) | public function __construct( method getConnectionManager (line 116) | public function getConnectionManager() method configure (line 124) | protected function configure(array $options) method configurePayloadHandler (line 134) | protected function configurePayloadHandler() method configureClientInformation (line 145) | protected function configureClientInformation() method configureClientId (line 160) | protected function configureClientId() method onData (line 191) | public function onData($data) method handshake (line 207) | public function handshake($data) method export (line 263) | protected function export($data) method handle (line 283) | public function handle($data) method handlePayload (line 295) | public function handlePayload(Payload $payload) method send (line 351) | public function send($data, $type = Protocol::TYPE_TEXT) method process (line 375) | public function process() method close (line 410) | public function close($code = Protocol::CLOSE_NORMAL) method log (line 438) | public function log($message, $priority = 'info') method getIp (line 455) | public function getIp() method getPort (line 465) | public function getPort() method getId (line 475) | public function getId() method getSocket (line 485) | public function getSocket() method getClientApplication (line 495) | public function getClientApplication() FILE: lib/Wrench/ConnectionManager.php class ConnectionManager (line 13) | class ConnectionManager extends Configurable implements Countable method __construct (line 50) | public function __construct(Server $server, array $options = array()) method count (line 60) | public function count() method configure (line 71) | protected function configure(array $options) method getApplicationForPath (line 94) | public function getApplicationForPath($path) method configureMasterSocket (line 105) | protected function configureMasterSocket() method listen (line 117) | public function listen() method getAllResources (line 128) | protected function getAllResources() method getConnectionForClientSocket (line 141) | protected function getConnectionForClientSocket($socket) method selectAndProcess (line 154) | public function selectAndProcess() method processMasterSocket (line 182) | protected function processMasterSocket() method createConnection (line 208) | protected function createConnection($resource) method processClientSocket (line 235) | protected function processClientSocket($socket) method resourceId (line 267) | protected function resourceId($resource) method getUri (line 277) | public function getUri() method log (line 288) | public function log($message, $priority = 'info') method getServer (line 300) | public function getServer() method removeConnection (line 310) | public function removeConnection(Connection $connection) FILE: lib/Wrench/Exception/BadRequestException.php class BadRequestException (line 8) | class BadRequestException extends HandshakeException method __construct (line 15) | public function __construct($message = null, $code = null, $previous =... FILE: lib/Wrench/Exception/CloseException.php class CloseException (line 11) | class CloseException extends WrenchException method __construct (line 18) | public function __construct($message = null, $code = null, $previous =... FILE: lib/Wrench/Exception/ConnectionException.php class ConnectionException (line 5) | class ConnectionException extends Exception FILE: lib/Wrench/Exception/Exception.php class Exception (line 5) | class Exception extends \Exception FILE: lib/Wrench/Exception/FrameException.php class FrameException (line 6) | class FrameException extends WrenchException FILE: lib/Wrench/Exception/HandshakeException.php class HandshakeException (line 8) | class HandshakeException extends WrenchException method __construct (line 15) | public function __construct($message = null, $code = null, $previous =... FILE: lib/Wrench/Exception/InvalidOriginException.php class InvalidOriginException (line 11) | class InvalidOriginException extends HandshakeException method __construct (line 18) | public function __construct($message = null, $code = null, $previous =... FILE: lib/Wrench/Exception/PayloadException.php class PayloadException (line 6) | class PayloadException extends WrenchException FILE: lib/Wrench/Exception/RateLimiterException.php class RateLimiterException (line 6) | class RateLimiterException extends WrenchException method __construct (line 13) | public function __construct($message = null, $code = null, $previous =... FILE: lib/Wrench/Exception/SocketException.php class SocketException (line 6) | class SocketException extends WrenchException FILE: lib/Wrench/Frame/Frame.php class Frame (line 12) | abstract class Frame method getLength (line 54) | abstract public function getLength(); method encode (line 64) | abstract public function encode($data, $type = Protocol::TYPE_TEXT, $m... method isFinal (line 71) | abstract public function isFinal(); method getType (line 76) | abstract public function getType(); method decodeFramePayloadFromBuffer (line 83) | abstract protected function decodeFramePayloadFromBuffer(); method getExpectedBufferLength (line 91) | abstract protected function getExpectedBufferLength(); method isComplete (line 98) | public function isComplete() method receiveData (line 116) | public function receiveData($data) method getRemainingData (line 126) | public function getRemainingData() method isWaitingForData (line 140) | public function isWaitingForData() method getFramePayload (line 152) | public function getFramePayload() method getFrameBuffer (line 173) | public function getFrameBuffer() method getBufferLength (line 186) | protected function getBufferLength() FILE: lib/Wrench/Frame/HybiFrame.php class HybiFrame (line 9) | class HybiFrame extends Frame method encode (line 65) | public function encode($payload, $type = Protocol::TYPE_TEXT, $masked ... method mask (line 129) | protected function mask($payload) method unmask (line 148) | protected function unmask($payload) method receiveData (line 153) | public function receiveData($data) method getMask (line 168) | protected function getMask() method generateMask (line 184) | protected function generateMask() method isMasked (line 200) | public function isMasked() method getExpectedBufferLength (line 214) | protected function getExpectedBufferLength() method getPayloadOffset (line 224) | protected function getPayloadOffset() method getMaskOffset (line 240) | protected function getMaskOffset() method getLength (line 254) | public function getLength() method getInitialLength (line 290) | protected function getInitialLength() method getLengthSize (line 307) | protected function getLengthSize() method getMaskSize (line 325) | protected function getMaskSize() method decodeFramePayloadFromBuffer (line 336) | protected function decodeFramePayloadFromBuffer() method isFinal (line 350) | public function isFinal() method getType (line 362) | public function getType() FILE: lib/Wrench/Listener/HandshakeRequestListener.php type HandshakeRequestListener (line 7) | interface HandshakeRequestListener method onHandshakeRequest (line 18) | public function onHandshakeRequest(Connection $connection, $path, $ori... FILE: lib/Wrench/Listener/Listener.php type Listener (line 7) | interface Listener method listen (line 9) | public function listen(Server $server); FILE: lib/Wrench/Listener/OriginPolicy.php class OriginPolicy (line 9) | class OriginPolicy implements Listener, HandshakeRequestListener method __construct (line 13) | public function __construct(array $allowed) method onHandshakeRequest (line 29) | public function onHandshakeRequest(Connection $connection, $path, $ori... method isAllowed (line 42) | public function isAllowed($origin) method listen (line 69) | public function listen(Server $server) FILE: lib/Wrench/Listener/RateLimiter.php class RateLimiter (line 8) | class RateLimiter extends Configurable implements Listener method __construct (line 36) | public function __construct(array $options = array()) method configure (line 44) | protected function configure(array $options) method listen (line 58) | public function listen(Server $server) method onSocketConnect (line 84) | public function onSocketConnect($socket, $connection) method onSocketDisconnect (line 96) | public function onSocketDisconnect($socket, $connection) method onClientData (line 107) | public function onClientData($socket, $connection) method checkConnections (line 117) | protected function checkConnections($connection) method checkConnectionsPerIp (line 131) | protected function checkConnectionsPerIp($connection) method releaseConnection (line 159) | protected function releaseConnection($connection) method checkRequestsPerMinute (line 182) | protected function checkRequestsPerMinute($connection) method limit (line 209) | protected function limit($connection, $limit) method log (line 226) | public function log($message, $priority = 'info') FILE: lib/Wrench/Payload/HybiPayload.php class HybiPayload (line 13) | class HybiPayload extends Payload method getFrame (line 18) | protected function getFrame() FILE: lib/Wrench/Payload/Payload.php class Payload (line 17) | abstract class Payload method getCurrentFrame (line 31) | protected function getCurrentFrame() method getReceivingFrame (line 45) | protected function getReceivingFrame() method getFrame (line 65) | abstract protected function getFrame(); method isComplete (line 72) | public function isComplete() method encode (line 86) | public function encode($data, $type = Protocol::TYPE_TEXT, $masked = f... method getRemainingData (line 107) | public function getRemainingData() method isWaitingForData (line 129) | public function isWaitingForData() method sendToSocket (line 138) | public function sendToSocket(Socket $socket) method receiveData (line 153) | public function receiveData($data) method getPayload (line 178) | public function getPayload() method __toString (line 192) | public function __toString() method getType (line 210) | public function getType() FILE: lib/Wrench/Payload/PayloadHandler.php class PayloadHandler (line 13) | class PayloadHandler extends Configurable method __construct (line 32) | public function __construct($callback, array $options = array()) method handle (line 48) | public function handle($data) method getCurrent (line 96) | public function getCurrent() method emit (line 106) | protected function emit(Payload $payload) FILE: lib/Wrench/Protocol/Hybi10Protocol.php class Hybi10Protocol (line 10) | class Hybi10Protocol extends HybiProtocol method getVersion (line 17) | public function getVersion() method acceptsVersion (line 27) | public function acceptsVersion($version) FILE: lib/Wrench/Protocol/HybiProtocol.php class HybiProtocol (line 15) | abstract class HybiProtocol extends Protocol method getPayload (line 20) | public function getPayload() FILE: lib/Wrench/Protocol/Protocol.php class Protocol (line 17) | abstract class Protocol method getVersion (line 233) | abstract public function getVersion(); method acceptsVersion (line 242) | abstract public function acceptsVersion($version); method getPayload (line 250) | abstract public function getPayload(); method generateKey (line 260) | public function generateKey() method getRequestHandshake (line 290) | public function getRequestHandshake( method getResponseHandshake (line 325) | public function getResponseHandshake($key, array $headers = array()) method getResponseError (line 343) | public function getResponseError($e, array $headers = array()) method getHttpResponse (line 366) | protected function getHttpResponse($status, array $headers = array()) method validateResponseHandshake (line 392) | public function validateResponseHandshake($response, $key) method getEncodedHash (line 424) | public function getEncodedHash($key) method validateRequestHandshake (line 435) | public function validateRequestHandshake( method getCloseFrame (line 507) | public function getCloseFrame($e) method validateUri (line 533) | public function validateUri($uri) method validateSocketUri (line 568) | public function validateSocketUri($uri) method validateOriginUri (line 598) | public function validateOriginUri($origin) method validateRequestLine (line 624) | protected function validateRequestLine($line) method getAcceptValue (line 644) | protected function getAcceptValue($encoded_key) method getHeaders (line 656) | protected function getHeaders($response, &$request_line = null) method getRequestHeaders (line 694) | protected function getRequestHeaders($response) method validateScheme (line 715) | protected function validateScheme($scheme) method getDefaultRequestHeaders (line 741) | protected function getDefaultRequestHeaders($host, $key, $origin) method getSuccessResponseHeaders (line 758) | protected function getSuccessResponseHeaders($key) method getPort (line 777) | protected function getPort($scheme) FILE: lib/Wrench/Protocol/Rfc6455Protocol.php class Rfc6455Protocol (line 12) | class Rfc6455Protocol extends HybiProtocol method getVersion (line 19) | public function getVersion() method acceptsVersion (line 29) | public function acceptsVersion($version) FILE: lib/Wrench/Resource.php type Resource (line 8) | interface Resource method getResourceId (line 10) | public function getResourceId(); method getResource (line 11) | public function getResource(); FILE: lib/Wrench/Server.php class Server (line 23) | class Server extends Configurable method __construct (line 92) | public function __construct($uri, array $options = array()) method configure (line 113) | protected function configure(array $options) method configureLogger (line 131) | protected function configureLogger() method configureConnectionManager (line 147) | protected function configureConnectionManager() method getConnectionManager (line 159) | public function getConnectionManager() method getUri (line 167) | public function getUri() method setLogger (line 178) | public function setLogger($logger) method run (line 191) | public function run() method log (line 225) | public function log($message, $priority = 'info') method notify (line 237) | public function notify($event, array $arguments = array()) method addListener (line 260) | public function addListener($event, $callback) method getApplication (line 279) | public function getApplication($key) method registerApplication (line 299) | public function registerApplication($key, $application) FILE: lib/Wrench/Socket/ClientSocket.php class ClientSocket (line 10) | class ClientSocket extends UriSocket method configure (line 28) | protected function configure(array $options) method connect (line 42) | public function connect() method reconnect (line 73) | public function reconnect() method getSocketStreamContextOptions (line 82) | protected function getSocketStreamContextOptions() method getSslStreamContextOptions (line 91) | protected function getSslStreamContextOptions() FILE: lib/Wrench/Socket/ServerClientSocket.php class ServerClientSocket (line 7) | class ServerClientSocket extends Socket method __construct (line 18) | public function __construct($accepted_socket, array $options = array()) FILE: lib/Wrench/Socket/ServerSocket.php class ServerSocket (line 15) | class ServerSocket extends UriSocket method configure (line 37) | protected function configure(array $options) method listen (line 55) | public function listen() method accept (line 82) | public function accept() method getSocketStreamContextOptions (line 99) | protected function getSocketStreamContextOptions() method getSslStreamContextOptions (line 113) | protected function getSslStreamContextOptions() FILE: lib/Wrench/Socket/Socket.php class Socket (line 23) | abstract class Socket extends Configurable implements Resource method configure (line 91) | protected function configure(array $options) method getName (line 103) | protected function getName() method getNamePart (line 124) | public static function getNamePart($name, $part) method getIp (line 152) | public function getIp() method getPort (line 168) | public function getPort() method getLastError (line 184) | public function getLastError() method isConnected (line 205) | public function isConnected() method disconnect (line 215) | public function disconnect() method getResource (line 227) | public function getResource() method getResourceId (line 235) | public function getResourceId() method send (line 245) | public function send($data) method receive (line 276) | public function receive($length = self::DEFAULT_RECEIVE_LENGTH) FILE: lib/Wrench/Socket/UriSocket.php class UriSocket (line 9) | abstract class UriSocket extends Socket method __construct (line 31) | public function __construct($uri, array $options = array()) method getUri (line 44) | protected function getUri() method getName (line 58) | protected function getName() method getHost (line 66) | public function getHost() method getPort (line 74) | public function getPort() method getStreamContext (line 82) | protected function getStreamContext($listen = false) method getSocketStreamContextOptions (line 108) | abstract protected function getSocketStreamContextOptions(); method getSslStreamContextOptions (line 117) | abstract protected function getSslStreamContextOptions(); FILE: lib/Wrench/Tests/Application/EchoApplicationTest.php class EchoApplicationTest (line 8) | class EchoApplicationTest extends WrenchTest method getClass (line 13) | protected function getClass() method testConstructor (line 21) | public function testConstructor() method testOnData (line 30) | public function testOnData($payload) method getValidPayloads (line 50) | public function getValidPayloads() FILE: lib/Wrench/Tests/BasicServerTest.php class BasicServerTest (line 16) | class BasicServerTest extends ServerTest method getClass (line 21) | protected function getClass() method testValidOriginPolicy (line 31) | public function testValidOriginPolicy(array $allowed, $origin) method testInvalidOriginPolicy (line 58) | public function testInvalidOriginPolicy(array $allowed, $origin) method getValidConstructorArguments (line 83) | public function getValidConstructorArguments() method getValidOrigins (line 98) | public function getValidOrigins() method getInvalidOrigins (line 111) | public function getInvalidOrigins() FILE: lib/Wrench/Tests/ClientTest.php class ClientTest (line 17) | class ClientTest extends Test method getClass (line 22) | protected function getClass() method testConstructor (line 27) | public function testConstructor() method getMockSocket (line 50) | protected function getMockSocket() method testConstructorSocketUnspecified (line 58) | public function testConstructorSocketUnspecified() method testConstructorUriInvalid (line 66) | public function testConstructorUriInvalid() method testConstructorUriEmpty (line 74) | public function testConstructorUriEmpty() method testConstructorUriPathUnspecified (line 82) | public function testConstructorUriPathUnspecified() method testConstructorOriginUnspecified (line 90) | public function testConstructorOriginUnspecified() method testConstructorOriginEmpty (line 98) | public function testConstructorOriginEmpty() method testConstructorOriginInvalid (line 106) | public function testConstructorOriginInvalid() method testSendInvalidType (line 114) | public function testSendInvalidType() method testSendInvalidTypeString (line 123) | public function testSendInvalidTypeString() method testSend (line 129) | public function testSend() FILE: lib/Wrench/Tests/ConnectionManagerTest.php class ConnectionManagerTest (line 16) | class ConnectionManagerTest extends Test method getClass (line 21) | protected function getClass() method testValidConstructorArguments (line 31) | public function testValidConstructorArguments($server, array $options) method testConstructor (line 45) | public function testConstructor() method testCount (line 61) | public function testCount($instance) method getValidConstructorArguments (line 69) | public function getValidConstructorArguments() method getMockServer (line 79) | protected function getMockServer() method getMockApplication (line 97) | protected function getMockApplication() FILE: lib/Wrench/Tests/ConnectionTest.php class ConnectionTest (line 19) | class ConnectionTest extends Test method getClass (line 24) | protected function getClass() method testConstructor (line 34) | public function testConstructor($manager, $socket, array $options) method testClose (line 51) | public function testClose($code) method testHandshake (line 72) | public function testHandshake($path, $request) method testHandshakeBadSocket (line 89) | public function testHandshakeBadSocket($path, $request) method testWrongPathHandshake (line 105) | public function testWrongPathHandshake($path, $request) method testHandle (line 118) | public function testHandle($path, $request_handshake, array $requests,... method getConnectedSocket (line 139) | protected function getConnectedSocket() method getNotConnectedSocket (line 153) | protected function getNotConnectedSocket() method getConnectionForHandshake (line 164) | protected function getConnectionForHandshake($socket, $path, $request) method getConnectionForHandle (line 187) | protected function getConnectionForHandle($socket, $path, $handshake, ... method getMockConnectionManager (line 222) | protected function getMockConnectionManager() method getMockSocket (line 232) | protected function getMockSocket() method getMockApplication (line 242) | protected function getMockApplication() method getValidCloseCodes (line 252) | public function getValidCloseCodes() method getValidConstructorArguments (line 266) | public function getValidConstructorArguments() method getValidHandleData (line 303) | public function getValidHandleData() method getValidHandshakeData (line 352) | public function getValidHandshakeData() method getWrongPathHandshakeData (line 371) | public function getWrongPathHandshakeData() FILE: lib/Wrench/Tests/Frame/BaseSubclassFrameTest.php class BadSubclassFrame (line 8) | class BadSubclassFrame extends HybiFrame class BadSubclassFrameTest (line 14) | class BadSubclassFrameTest extends Test method testInvalidFrameBuffer (line 19) | public function testInvalidFrameBuffer() method getClass (line 25) | protected function getClass() FILE: lib/Wrench/Tests/Frame/FrameTest.php class FrameTest (line 13) | abstract class FrameTest extends Test method setUp (line 25) | public function setUp() method getNewFrame (line 31) | protected function getNewFrame() method tearDown (line 40) | protected function tearDown() method testBijection (line 50) | public function testBijection($type, $payload, $masked) method testEncodeTypeReflection (line 120) | public function testEncodeTypeReflection($type, $payload, $masked) method testEncodeLengthReflection (line 130) | public function testEncodeLengthReflection($type, $payload, $masked) method testEncodePayloadReflection (line 140) | public function testEncodePayloadReflection($type, $payload, $masked) method getValidEncodePayloads (line 151) | public function getValidEncodePayloads() FILE: lib/Wrench/Tests/Frame/HybiFrameTest.php class HybiFrameTest (line 8) | class HybiFrameTest extends FrameTest method getClass (line 10) | protected function getClass() FILE: lib/Wrench/Tests/Listener/ListenerTest.php class ListenerTest (line 10) | abstract class ListenerTest extends Test method testListen (line 15) | public function testListen($instance) method testConstructor (line 22) | abstract public function testConstructor(); FILE: lib/Wrench/Tests/Listener/OriginPolicyTest.php class OriginPolicyTest (line 8) | class OriginPolicyTest extends ListenerTest method getClass (line 13) | public function getClass() method testConstructor (line 21) | public function testConstructor() method testValidAllowed (line 33) | public function testValidAllowed($allowed, $domain) method testValidHandshake (line 44) | public function testValidHandshake($allowed, $domain) method testInvalidAllowed (line 62) | public function testInvalidAllowed($allowed, $bad_domain) method testInvalidHandshake (line 73) | public function testInvalidHandshake($allowed, $bad_domain) method getValidArguments (line 89) | public function getValidArguments() method getInvalidArguments (line 101) | public function getInvalidArguments() FILE: lib/Wrench/Tests/Listener/RateLimiterTest.php class RateLimiterTest (line 8) | class RateLimiterTest extends ListenerTest method getClass (line 13) | public function getClass() method testConstructor (line 21) | public function testConstructor() method testOnSocketConnect (line 28) | public function testOnSocketConnect() method testOnSocketDisconnect (line 33) | public function testOnSocketDisconnect() method testOnClientData (line 38) | public function testOnClientData() method getConnection (line 43) | protected function getConnection() FILE: lib/Wrench/Tests/Payload/HybiPayloadTest.php class HybiPayloadTest (line 8) | class HybiPayloadTest extends PayloadTest method getClass (line 10) | protected function getClass() FILE: lib/Wrench/Tests/Payload/PayloadTest.php class PayloadTest (line 13) | abstract class PayloadTest extends Test method setUp (line 25) | public function setUp() method testConstructor (line 35) | public function testConstructor() method testBijection (line 44) | public function testBijection($type, $payload) method testEncodeTypeReflection (line 71) | public function testEncodeTypeReflection($type, $payload) method testEncodePayloadReflection (line 81) | public function testEncodePayloadReflection($type, $payload) method testSendToSocket (line 91) | public function testSendToSocket($type, $payload) method testReceieveData (line 114) | public function testReceieveData($type, $payload) method getValidEncodePayloads (line 125) | public function getValidEncodePayloads() FILE: lib/Wrench/Tests/Protocol/ProtocolTest.php class ProtocolTest (line 8) | abstract class ProtocolTest extends Test method setUp (line 13) | public function setUp() method testValidatHandshakeRequestValid (line 21) | public function testValidatHandshakeRequestValid($request) method testValidateHandshakeResponseValid (line 40) | public function testValidateHandshakeResponseValid($response, $key) method testGetResponseHandsake (line 54) | public function testGetResponseHandsake($unused, $key) method assertHttpResponse (line 69) | protected function assertHttpResponse($response, $message = '') method testGetVersion (line 75) | public function testGetVersion() method testGetResponseError (line 81) | public function testGetResponseError() method testValidateOriginUriValid (line 96) | public function testValidateOriginUriValid($uri) method testValidateOriginUriInvalid (line 109) | public function testValidateOriginUriInvalid($uri) method getValidOriginUris (line 114) | public function getValidOriginUris() method getInvalidOriginUris (line 123) | public function getInvalidOriginUris() method getValidHandshakeRequests (line 133) | public function getValidHandshakeRequests() method getValidHandshakeResponses (line 165) | public function getValidHandshakeResponses() FILE: lib/Wrench/Tests/Protocol/Rfc6455ProtocolTest.php class Rfc6455ProtocolTest (line 8) | class Rfc6455ProtocolTest extends ProtocolTest method getClass (line 10) | protected function getClass() FILE: lib/Wrench/Tests/ServerTest.php class ServerTest (line 15) | class ServerTest extends Test method getClass (line 20) | protected function getClass() method testConstructor (line 32) | public function testConstructor($url, array $options = array()) method testLogging (line 43) | public function testLogging() method getValidConstructorArguments (line 64) | public function getValidConstructorArguments() FILE: lib/Wrench/Tests/ServerTestHelper.php class ServerTestHelper (line 9) | class ServerTestHelper method getNextPort (line 23) | public static function getNextPort() method __destruct (line 34) | public function __destruct() method getConnectionString (line 42) | public function getConnectionString() method getEchoConnectionString (line 50) | public function getEchoConnectionString() method setUp (line 59) | public function setUp() method tearDown (line 82) | public function tearDown() method getCommand (line 129) | protected function getCommand() method log (line 140) | public function log($message, $priority = 'info') FILE: lib/Wrench/Tests/Socket/ClientSocketTest.php class ClientSocketTest (line 11) | class ClientSocketTest extends UriSocketTest method getClass (line 16) | public function getClass() method testConstructor (line 26) | public function testConstructor() method testOptions (line 55) | public function testOptions() method testProtocolTypeError (line 90) | public function testProtocolTypeError() method testConstructorUriUnspecified (line 102) | public function testConstructorUriUnspecified() method testConstructorUriEmpty (line 110) | public function testConstructorUriEmpty() method testConstructorUriInvalid (line 119) | public function testConstructorUriInvalid() method testSendTooEarly (line 129) | public function testSendTooEarly($instance) method testConnect (line 137) | public function testConnect() FILE: lib/Wrench/Tests/Socket/ServerClientSocketTest.php class ServerClientSocketTest (line 7) | class ServerClientSocketTest extends SocketTest method getClass (line 9) | public function getClass() method testConstructor (line 17) | public function testConstructor() method testGetIpTooSoon (line 29) | public function testGetIpTooSoon($instance) method testGetPortTooSoon (line 38) | public function testGetPortTooSoon($instance) FILE: lib/Wrench/Tests/Socket/ServerSocketTest.php class ServerSocketTest (line 7) | class ServerSocketTest extends UriSocketTest method getClass (line 9) | public function getClass() FILE: lib/Wrench/Tests/Socket/SocketTest.php class SocketTest (line 9) | abstract class SocketTest extends Test method testConstructor (line 14) | abstract public function testConstructor(); method testIsConnected (line 19) | public function testIsConnected($instance) method testGetNamePart (line 30) | public function testGetNamePart($name, $ip, $port) method getValidNames (line 39) | public function getValidNames() FILE: lib/Wrench/Tests/Socket/UriSocketTest.php class UriSocketTest (line 7) | abstract class UriSocketTest extends SocketTest method testConstructor (line 12) | public function testConstructor() method testInvalidConstructor (line 23) | public function testInvalidConstructor($uri) method testGetIp (line 31) | public function testGetIp($instance) method testGetPort (line 39) | public function testGetPort($instance) method getInvalidConstructorArguments (line 47) | public function getInvalidConstructorArguments() FILE: lib/Wrench/Tests/Test.php class Test (line 11) | abstract class Test extends PHPUnit_Framework_TestCase method getClass (line 18) | abstract protected function getClass(); method assertInstanceOfClass (line 26) | public function assertInstanceOfClass($instance, $message = null) method getInstance (line 42) | public function getInstance(/* ... */) method log (line 57) | public function log($message, $priority = 'info') FILE: lib/Wrench/Util/Configurable.php class Configurable (line 12) | abstract class Configurable method __construct (line 33) | public function __construct( method configure (line 45) | protected function configure(array $options) method configureProtocol (line 57) | protected function configureProtocol() FILE: lib/Wrench/Util/Ssl.php class Ssl (line 5) | class Ssl method generatePemFile (line 22) | public static function generatePemFile($pem_file, $pem_passphrase, $co...