abstract |
---|
Core for the query mechanisms
Methods | ||
---|---|---|
public
|
__clone()
|
# |
public
|
set(string $transport, string $ip, int $port, int $timeout = 3, bool $blocking = false)
|
# |
public
|
reset()
|
# |
public
|
getTransport()
|
# |
public
|
getIp()
|
# |
public
|
getPort()
|
# |
public
|
getTimeout()
|
# |
public
|
getBlocking()
|
# |
abstract
protected
|
create(): void
|
# |
abstract
public
|
get(): mixed
|
# |
abstract
public
|
write(string $data): int
|
# |
abstract
public
|
close(): void
|
# |
abstract
public
|
getResponses(array $sockets, int $timeout, int $stream_timeout): array
|
# |
Properties | |||
---|---|---|---|
public
|
null|resource
|
$socket = null
|
# |
protected
|
string
|
$transport = null
|
# |
protected
|
string
|
$ip = null
|
# |
protected
|
int
|
$port = null
|
# |
protected
|
int
|
$timeout = 3
|
# |
protected
|
bool
|
$blocking = false
|
# |