/usr/share/Ice-3.5.1/php/lib/Ice/Endpoint.php is in php-zeroc-ice 3.5.1-5.2.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | <?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 `Endpoint.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/Version.php';
require_once 'Ice/BuiltinSequences.php';
require_once 'Ice/EndpointF.php';
if(!defined('Ice_TCPEndpointType'))
{
define('Ice_TCPEndpointType', 1);
}
if(!defined('Ice_UDPEndpointType'))
{
define('Ice_UDPEndpointType', 3);
}
if(!class_exists('Ice_EndpointInfo'))
{
abstract class Ice_EndpointInfo
{
public function __construct($timeout=0, $compress=false)
{
$this->timeout = $timeout;
$this->compress = $compress;
}
abstract public function type();
abstract public function datagram();
abstract public function secure();
public function __toString()
{
global $Ice__t_EndpointInfo;
return IcePHP_stringify($this, $Ice__t_EndpointInfo);
}
public $timeout;
public $compress;
}
$Ice__t_EndpointInfo = IcePHP_defineClass('::Ice::EndpointInfo', 'Ice_EndpointInfo', -1, true, false, $Ice__t_Object, null, array(
array('timeout', $IcePHP__t_int, false, 0),
array('compress', $IcePHP__t_bool, false, 0)));
}
if(!interface_exists('Ice_Endpoint'))
{
interface Ice_Endpoint
{
public function toString();
public function getInfo();
}
$Ice__t_Endpoint = IcePHP_defineClass('::Ice::Endpoint', 'Ice_Endpoint', -1, true, false, $Ice__t_Object, null, null);
}
if(!class_exists('Ice_IPEndpointInfo'))
{
abstract class Ice_IPEndpointInfo extends Ice_EndpointInfo
{
public function __construct($timeout=0, $compress=false, $host='', $port=0)
{
parent::__construct($timeout, $compress);
$this->host = $host;
$this->port = $port;
}
public function __toString()
{
global $Ice__t_IPEndpointInfo;
return IcePHP_stringify($this, $Ice__t_IPEndpointInfo);
}
public $host;
public $port;
}
$Ice__t_IPEndpointInfo = IcePHP_defineClass('::Ice::IPEndpointInfo', 'Ice_IPEndpointInfo', -1, true, false, $Ice__t_EndpointInfo, null, array(
array('host', $IcePHP__t_string, false, 0),
array('port', $IcePHP__t_int, false, 0)));
}
if(!class_exists('Ice_TCPEndpointInfo'))
{
abstract class Ice_TCPEndpointInfo extends Ice_IPEndpointInfo
{
public function __construct($timeout=0, $compress=false, $host='', $port=0)
{
parent::__construct($timeout, $compress, $host, $port);
}
public function __toString()
{
global $Ice__t_TCPEndpointInfo;
return IcePHP_stringify($this, $Ice__t_TCPEndpointInfo);
}
}
$Ice__t_TCPEndpointInfo = IcePHP_defineClass('::Ice::TCPEndpointInfo', 'Ice_TCPEndpointInfo', -1, true, false, $Ice__t_IPEndpointInfo, null, null);
}
if(!class_exists('Ice_UDPEndpointInfo'))
{
abstract class Ice_UDPEndpointInfo extends Ice_IPEndpointInfo
{
public function __construct($timeout=0, $compress=false, $host='', $port=0, $mcastInterface='', $mcastTtl=0)
{
parent::__construct($timeout, $compress, $host, $port);
$this->mcastInterface = $mcastInterface;
$this->mcastTtl = $mcastTtl;
}
public function __toString()
{
global $Ice__t_UDPEndpointInfo;
return IcePHP_stringify($this, $Ice__t_UDPEndpointInfo);
}
public $mcastInterface;
public $mcastTtl;
}
$Ice__t_UDPEndpointInfo = IcePHP_defineClass('::Ice::UDPEndpointInfo', 'Ice_UDPEndpointInfo', -1, true, false, $Ice__t_IPEndpointInfo, null, array(
array('mcastInterface', $IcePHP__t_string, false, 0),
array('mcastTtl', $IcePHP__t_int, false, 0)));
}
if(!class_exists('Ice_OpaqueEndpointInfo'))
{
abstract class Ice_OpaqueEndpointInfo extends Ice_EndpointInfo
{
public function __construct($timeout=0, $compress=false, $rawEncoding=null, $rawBytes=null)
{
parent::__construct($timeout, $compress);
$this->rawEncoding = is_null($rawEncoding) ? new Ice_EncodingVersion : $rawEncoding;
$this->rawBytes = $rawBytes;
}
public function __toString()
{
global $Ice__t_OpaqueEndpointInfo;
return IcePHP_stringify($this, $Ice__t_OpaqueEndpointInfo);
}
public $rawEncoding;
public $rawBytes;
}
$Ice__t_OpaqueEndpointInfo = IcePHP_defineClass('::Ice::OpaqueEndpointInfo', 'Ice_OpaqueEndpointInfo', -1, true, false, $Ice__t_EndpointInfo, null, array(
array('rawEncoding', $Ice__t_EncodingVersion, false, 0),
array('rawBytes', $Ice__t_ByteSeq, false, 0)));
}
?>
|