AbstractIO::close()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 1
ccs 0
cts 1
cp 0
nc 1
1
<?php
2
namespace PhpAmqpLib\Wire\IO;
3
4
abstract class AbstractIO
5
{
6
    /**
7
     * @param $n
8
     * @return mixed
9
     */
10
    abstract public function read($n);
11
12
    /**
13
     * @param $data
14
     * @return mixed
15
     */
16
    abstract public function write($data);
17
18
    /**
19
     * @return mixed
20
     */
21
    abstract public function close();
22
23
    /**
24
     * @param $sec
25
     * @param $usec
26
     * @return mixed
27
     */
28
    abstract public function select($sec, $usec);
29
30
    /**
31
     * @return mixed
32
     */
33
    abstract public function connect();
34
35
    /**
36
     * @return mixed
37
     */
38
    abstract public function reconnect();
39
40
    /**
41
     * @return mixed
42
     */
43
    abstract public function getSocket();
44
}
45