This repository has been archived on 2018-04-01. You can view files and clone it, but cannot push or open issues or pull requests.
php-asio/stubs/IoObject.php

28 lines
485 B
PHP

<?php
/**
* php-asio/stubs/IoObject.php
*
* This file is a stub of php-asio, which is implemented in extension asio.so.
* For source code of asio.so, see src/ directory.
*
* @author CismonX<admin@cismon.net>
*/
namespace Asio;
/**
* Interface IoObject
*
* Base class of all I/O objects.
*
* @package Asio
*/
interface IoObject
{
/**
* Cancel all asynchronous operations on this I/O object.
*
* @return int : Error code
*/
function cancel();
}