/usr/share/Ice-3.5.1/php/lib/Ice/Connection.php is in php-zeroc-ice 3.5.1-6+b3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `Connection.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/ObjectAdapterF.php';
require_once 'Ice/Identity.php';
require_once 'Ice/Endpoint.php';
if(!class_exists('Ice_ConnectionInfo'))
{
class Ice_ConnectionInfo
{
public function __construct($incoming=false, $adapterName='', $connectionId='')
{
$this->incoming = $incoming;
$this->adapterName = $adapterName;
$this->connectionId = $connectionId;
}
public function __toString()
{
global $Ice__t_ConnectionInfo;
return IcePHP_stringify($this, $Ice__t_ConnectionInfo);
}
public $incoming;
public $adapterName;
public $connectionId;
}
$Ice__t_ConnectionInfo = IcePHP_defineClass('::Ice::ConnectionInfo', 'Ice_ConnectionInfo', -1, false, false, $Ice__t_Object, null, array(
array('incoming', $IcePHP__t_bool, false, 0),
array('adapterName', $IcePHP__t_string, false, 0),
array('connectionId', $IcePHP__t_string, false, 0)));
}
if(!interface_exists('Ice_Connection'))
{
interface Ice_Connection
{
public function close($force);
public function createProxy($id);
public function setAdapter($adapter);
public function getAdapter();
public function getEndpoint();
public function flushBatchRequests();
public function type();
public function timeout();
public function toString();
public function getInfo();
}
$Ice__t_Connection = IcePHP_defineClass('::Ice::Connection', 'Ice_Connection', -1, true, false, $Ice__t_Object, null, null);
}
if(!class_exists('Ice_IPConnectionInfo'))
{
class Ice_IPConnectionInfo extends Ice_ConnectionInfo
{
public function __construct($incoming=false, $adapterName='', $connectionId='', $localAddress="", $localPort=-1, $remoteAddress="", $remotePort=-1)
{
parent::__construct($incoming, $adapterName, $connectionId);
$this->localAddress = $localAddress;
$this->localPort = $localPort;
$this->remoteAddress = $remoteAddress;
$this->remotePort = $remotePort;
}
public function __toString()
{
global $Ice__t_IPConnectionInfo;
return IcePHP_stringify($this, $Ice__t_IPConnectionInfo);
}
public $localAddress;
public $localPort;
public $remoteAddress;
public $remotePort;
}
$Ice__t_IPConnectionInfo = IcePHP_defineClass('::Ice::IPConnectionInfo', 'Ice_IPConnectionInfo', -1, false, false, $Ice__t_ConnectionInfo, null, array(
array('localAddress', $IcePHP__t_string, false, 0),
array('localPort', $IcePHP__t_int, false, 0),
array('remoteAddress', $IcePHP__t_string, false, 0),
array('remotePort', $IcePHP__t_int, false, 0)));
}
if(!class_exists('Ice_TCPConnectionInfo'))
{
class Ice_TCPConnectionInfo extends Ice_IPConnectionInfo
{
public function __construct($incoming=false, $adapterName='', $connectionId='', $localAddress="", $localPort=-1, $remoteAddress="", $remotePort=-1)
{
parent::__construct($incoming, $adapterName, $connectionId, $localAddress, $localPort, $remoteAddress, $remotePort);
}
public function __toString()
{
global $Ice__t_TCPConnectionInfo;
return IcePHP_stringify($this, $Ice__t_TCPConnectionInfo);
}
}
$Ice__t_TCPConnectionInfo = IcePHP_defineClass('::Ice::TCPConnectionInfo', 'Ice_TCPConnectionInfo', -1, false, false, $Ice__t_IPConnectionInfo, null, null);
}
if(!class_exists('Ice_UDPConnectionInfo'))
{
class Ice_UDPConnectionInfo extends Ice_IPConnectionInfo
{
public function __construct($incoming=false, $adapterName='', $connectionId='', $localAddress="", $localPort=-1, $remoteAddress="", $remotePort=-1, $mcastAddress='', $mcastPort=-1)
{
parent::__construct($incoming, $adapterName, $connectionId, $localAddress, $localPort, $remoteAddress, $remotePort);
$this->mcastAddress = $mcastAddress;
$this->mcastPort = $mcastPort;
}
public function __toString()
{
global $Ice__t_UDPConnectionInfo;
return IcePHP_stringify($this, $Ice__t_UDPConnectionInfo);
}
public $mcastAddress;
public $mcastPort;
}
$Ice__t_UDPConnectionInfo = IcePHP_defineClass('::Ice::UDPConnectionInfo', 'Ice_UDPConnectionInfo', -1, false, false, $Ice__t_IPConnectionInfo, null, array(
array('mcastAddress', $IcePHP__t_string, false, 0),
array('mcastPort', $IcePHP__t_int, false, 0)));
}
?>
|