Status.php

Gesponsorde koppelingen

PHP script bestanden

  1. Connection.php
  2. Listening.php
  3. Poller.php
  4. HttpRequest.php
  5. StringBuffer.php
  6. Accept.php
  7. Status.php
  8. Error.php

« Lees de omschrijving en reacties

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Streams library
* Copyright (c) 2012, Remco Pander
*
* This library consists of a set of classes that can be used to create high-performing
* applications using full-duplex connections. It uses the built-in stream functions
* provided with php.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
* @package    Streams
* @author     Remco Pander <[email protected]>
* @version    v1 initial release
* @copyright  Copyright (c) 2012, Remco Pander
*/


namespace Streams;
abstract class Status
{        
        // Constants that define connection statuses
        const ERROR               = -3;
        const DISCONNECTED_REMOTE = -2;
        const DISCONNECTED_LOCAL  = -1;
        const INIT                = 0;
        const CONNECTING          = 1;
        const CONNECTED           = 2;
        const LISTENING           = 3;
}

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.