Property | 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 |
Method | 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 | ||
return | array |
public getConnection ( ) : Fabiang\Xmpp\Connection\ConnectionInterface | ||
return | Fabiang\Xmpp\Connection\ConnectionInterface |
public getImplementation ( ) : Fabiang\Xmpp\Protocol\ImplementationInterface | ||
return | Fabiang\Xmpp\Protocol\ImplementationInterface |
public getLogger ( ) : Psr\Log\LoggerInterface | ||
return | Psr\Log\LoggerInterface |
public getTimeout ( ) : integer | ||
return | integer |
public getUsers ( ) : Fabiang\Xmpp\Protocol\User\User[] | ||
return | Fabiang\Xmpp\Protocol\User\User[] |
public isAuthenticated ( ) : boolean | ||
return | 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 |
return |
protected array $authenticationClasses | ||
return | array |
protected ConnectionInterface,Fabiang\Xmpp\Connection $connection | ||
return | Fabiang\Xmpp\Connection\ConnectionInterface |
protected ImplementationInterface,Fabiang\Xmpp\Protocol $implementation | ||
return | Fabiang\Xmpp\Protocol\ImplementationInterface |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |