PHP Interface Kraken\Ipc\Socket\SocketInterface

Inheritance: extends Kraken\Stream\AsyncStreamInterface
Afficher le fichier Open project: kraken-php/framework Interface Usage Examples

Méthodes publiques

Méthode Description
getLocalAddress ( ) : string Get socket local address.
getLocalEndpoint ( ) : string Get socket local endpoint.
getLocalHost ( ) : string Get socket local host.
getLocalPort ( ) : string Get socket local port.
getRemoteAddress ( ) : string Get socket remote address.
getRemoteEndpoint ( ) : string Get socket remote endpoint.
getRemoteHost ( ) : string Get socket remote host.
getRemotePort ( ) : string Get socket remote port.
stop ( ) Stop listener and underlying resource object. It is an alias for close() method.

Method Details

getLocalAddress() public méthode

Get socket local address.
public getLocalAddress ( ) : string
Résultat string

getLocalEndpoint() public méthode

This method returns socket local endpoint with this pattern [$protocol://$address:$port].
public getLocalEndpoint ( ) : string
Résultat string

getLocalHost() public méthode

Get socket local host.
public getLocalHost ( ) : string
Résultat string

getLocalPort() public méthode

Get socket local port.
public getLocalPort ( ) : string
Résultat string

getRemoteAddress() public méthode

Get socket remote address.
public getRemoteAddress ( ) : string
Résultat string

getRemoteEndpoint() public méthode

This method returns socket remote endpoint with this pattern [$protocol://$address:$port].
public getRemoteEndpoint ( ) : string
Résultat string

getRemoteHost() public méthode

Get socket remote host.
public getRemoteHost ( ) : string
Résultat string

getRemotePort() public méthode

Get socket remote port.
public getRemotePort ( ) : string
Résultat string

stop() public méthode

Stop listener and underlying resource object. It is an alias for close() method.
See also: StreamBaseInterface::close
public stop ( )