Свойство | Type | Description | |
---|---|---|---|
$address | string | ||
$authenticated | boolean | ||
$authenticationClasses | array | Authentication methods. | |
$connection | Fabiang\Xmpp\Connection\ConnectionInterface | Connection object. | |
$implementation | Fabiang\Xmpp\Protocol\ImplementationInterface | ||
$jid | string | ||
$logger | Psr\Log\LoggerInterface | PSR-3 Logger interface. | |
$password | string | ||
$timeout | integer | Timeout for connection. | |
$to | string | ||
$username | string | ||
$users | array |
Méthode | Description | |
---|---|---|
__construct ( string $address = null ) | Constructor. | |
getAddress ( ) : string | Get server address. | |
getAuthenticationClasses ( ) : array | Get authentication classes. | |
getConnection ( ) : Fabiang\Xmpp\Connection\ConnectionInterface | Get connection object. | |
getImplementation ( ) : Fabiang\Xmpp\Protocol\ImplementationInterface | Get protocol implementation. | |
getJid ( ) : string | Get users jid. | |
getLogger ( ) : Psr\Log\LoggerInterface | Get logger instance. | |
getPassword ( ) : string | Get password. | |
getResource ( ) : string | Get resource. | |
getTimeout ( ) : integer | Get timeout for connection. | |
getTo ( ) : string | Get server name. | |
getUsername ( ) : string | Get username. | |
getUsers ( ) : Fabiang\Xmpp\Protocol\User\User[] | Get users. | |
isAuthenticated ( ) : boolean | Is user authenticated. | |
setAddress ( string $address ) | Set server address. | |
setAuthenticated ( boolean $authenticated ) | Set authenticated. | |
setAuthenticationClasses ( array $authenticationClasses ) | ||
setConnection ( Fabiang\Xmpp\Connection\ConnectionInterface $connection ) | Set connection object. | |
setImplementation ( Fabiang\Xmpp\Protocol\ImplementationInterface $implementation ) | Set protocol implementation. | |
setJid ( string $jid ) | Set users jid. | |
setLogger ( Psr\Log\LoggerInterface $logger ) | Set logger instance. | |
setPassword ( string $password ) | Set password. | |
setTimeout ( integer $timeout ) : |
Set timeout for connection. | |
setTo ( string $to ) | Set server name. | |
setUsername ( string $username ) | Set username. | |
setUsers ( array $users ) | Set users. |
public __construct ( string $address = null ) | ||
$address | string | Server address |
public getAuthenticationClasses ( ) : array | ||
Résultat | array |
public getConnection ( ) : Fabiang\Xmpp\Connection\ConnectionInterface | ||
Résultat | Fabiang\Xmpp\Connection\ConnectionInterface |
public getImplementation ( ) : Fabiang\Xmpp\Protocol\ImplementationInterface | ||
Résultat | Fabiang\Xmpp\Protocol\ImplementationInterface |
public getLogger ( ) : Psr\Log\LoggerInterface | ||
Résultat | Psr\Log\LoggerInterface |
public getTimeout ( ) : integer | ||
Résultat | integer |
public getUsers ( ) : Fabiang\Xmpp\Protocol\User\User[] | ||
Résultat | Fabiang\Xmpp\Protocol\User\User[] |
public isAuthenticated ( ) : boolean | ||
Résultat | boolean |
public setAddress ( string $address ) | ||
$address | string | Server address |
public setAuthenticated ( boolean $authenticated ) | ||
$authenticated | boolean | Flag |
public setAuthenticationClasses ( array $authenticationClasses ) | ||
$authenticationClasses | array | Authentication classes |
public setConnection ( Fabiang\Xmpp\Connection\ConnectionInterface $connection ) | ||
$connection | Fabiang\Xmpp\Connection\ConnectionInterface |
public setImplementation ( Fabiang\Xmpp\Protocol\ImplementationInterface $implementation ) | ||
$implementation | Fabiang\Xmpp\Protocol\ImplementationInterface |
public setLogger ( Psr\Log\LoggerInterface $logger ) | ||
$logger | Psr\Log\LoggerInterface | PSR-3 Logger |
public setTimeout ( integer $timeout ) : |
||
$timeout | integer | Seconds |
Résultat |
protected array $authenticationClasses | ||
Résultat | array |
protected ConnectionInterface,Fabiang\Xmpp\Connection $connection | ||
Résultat | Fabiang\Xmpp\Connection\ConnectionInterface |
protected ImplementationInterface,Fabiang\Xmpp\Protocol $implementation | ||
Résultat | Fabiang\Xmpp\Protocol\ImplementationInterface |
protected LoggerInterface,Psr\Log $logger | ||
Résultat | Psr\Log\LoggerInterface |