AbstractIO
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 3
Bugs 1 Features 1
Metric Value
wmc 0
c 3
b 1
f 1
lcom 0
cbo 0
dl 0
loc 41
ccs 0
cts 7
cp 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
read() 0 1 ?
write() 0 1 ?
close() 0 1 ?
select() 0 1 ?
connect() 0 1 ?
reconnect() 0 1 ?
getSocket() 0 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