📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
/
vendor
/
binsoul
/
net-mqtt
/
src
📝
Connection.php
← Geri Dön
<?php namespace BinSoul\Net\Mqtt; /** * Represents the connection of a MQTT client. */ interface Connection { /** * @return int */ public function getProtocol(); /** * @return string */ public function getClientID(); /** * @return bool */ public function isCleanSession(); /** * @return string */ public function getUsername(); /** * @return string */ public function getPassword(); /** * @return Message|null */ public function getWill(); /** * @return int */ public function getKeepAlive(); /** * Returns a new connection with the given protocol. * * @param int $protocol * * @return self */ public function withProtocol($protocol); /** * Returns a new connection with the given client id. * * @param string $clientID * * @return self */ public function withClientID($clientID); /** * Returns a new connection with the given credentials. * * @param string $username * @param string $password * * @return self */ public function withCredentials($username, $password); /** * Returns a new connection with the given will. * * @param Message $will * * @return self */ public function withWill(Message $will); /** * Returns a new connection with the given keep alive timeout. * * @param int $timeout * * @return self */ public function withKeepAlive($timeout); }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula