getTransport() public méthode

public getTransport ( ) : JAXLClientBase
Résultat JAXLClientBase
Exemple #1
0
 public function testProtocolOption()
 {
     $config = array('host' => 'domain.tld', 'port' => 5223, 'protocol' => 'tcp', 'strict' => false);
     $jaxl = new JAXL($config);
     $this->assertEquals('tcp://domain.tld:5223', $jaxl->get_socket_path());
     $this->assertInstanceOf('JAXLSocketClient', $jaxl->getTransport());
 }