Overview

Namespaces

  • PHPFastCGI
    • FastCGIDaemon
      • Command
      • Connection
      • ConnectionHandler
      • Exception
      • Http

Classes

  • ConnectionHandler
  • ConnectionHandlerFactory

Interfaces

  • ConnectionHandlerFactoryInterface
  • ConnectionHandlerInterface
  • Overview
  • Namespace
  • Class

Interface ConnectionHandlerInterface

Objects implementing the connection handler interface are usually instantiated via some method with an incoming connection and a kernel. The handler is notified when these connections are ready to be read or closed and should handle communication between the incoming connection and the kernel.

Direct known implementers

PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandler
Namespace: PHPFastCGI\FastCGIDaemon\ConnectionHandler
Located at ConnectionHandler/ConnectionHandlerInterface.php
Methods summary
public
# ready( )

Triggered when the connection the handler was assigned to is ready to be read.

Triggered when the connection the handler was assigned to is ready to be read.

public
# shutdown( )

Gracefully shutdown the connection being handled. Usually triggered following a SIGINT.

Gracefully shutdown the connection being handled. Usually triggered following a SIGINT.

public
# close( )

Closes the connection handler and free's associated resources.

Closes the connection handler and free's associated resources.

API documentation generated by ApiGen