本文整理汇总了PHP中IcePHP_defineClass函数的典型用法代码示例。如果您正苦于以下问题:PHP IcePHP_defineClass函数的具体用法?PHP IcePHP_defineClass怎么用?PHP IcePHP_defineClass使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了IcePHP_defineClass函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ice_ping
}
public function ice_ping()
{
}
public function ice_ids()
{
return array(ice_id());
}
public function ice_id()
{
return "::Ice::Object";
}
}
$Ice__t_Object = IcePHP_defineClass('::Ice::Object', "Ice_Object", true, null, null, null);
$Ice__t_ObjectSeq = IcePHP_defineSequence('::Ice::ObjectSeq', $Ice__t_Object);
$Ice__t_LocalObject = IcePHP_defineClass('::Ice::LocalObject', "Ice_LocalObject", true, null, null, null);
$Ice__t_ObjectPrx = IcePHP_defineProxy($Ice__t_Object);
$Ice__t_ObjectProxySeq = IcePHP_defineSequence('::Ice::ObjectProxySeq', $Ice__t_ObjectPrx);
interface Ice_ObjectFactory
{
public function create($id);
public function destroy();
}
class Ice_InitializationData
{
public function __construct($properties = null, $logger = null)
{
$this->properties = $properties;
$this->logger = $logger;
}
public $properties;
示例2: _print
//
// 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 `Logger.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
namespace Ice;
if (!interface_exists('\\Ice\\Logger')) {
interface Logger
{
public function _print($message);
public function trace($category, $message);
public function warning($message);
public function error($message);
public function cloneWithPrefix($prefix);
}
$Ice__t_Logger = IcePHP_defineClass('::Ice::Logger', '\\Ice\\Logger', -1, true, false, $Ice__t_Object, null, null);
}
示例3: IcePHP_defineClass
return '::Ice::Object';
}
}
$Ice__t_Object = IcePHP_defineClass('::Ice::Object', "Ice_Object", -1, true, false, null, null, null);
$Ice__t_ObjectSeq = IcePHP_defineSequence('::Ice::ObjectSeq', $Ice__t_Object);
$Ice__t_LocalObject = IcePHP_defineClass('::Ice::LocalObject', "Ice_LocalObject", -1, true, false, null, null, null);
$Ice__t_ObjectPrx = IcePHP_defineProxy($Ice__t_Object);
$Ice__t_ObjectProxySeq = IcePHP_defineSequence('::Ice::ObjectProxySeq', $Ice__t_ObjectPrx);
class Ice_UnknownSlicedObject extends Ice_ObjectImpl
{
public function __construct()
{
}
public $unknownTypeId;
}
$Ice__t_UnknownSlicedObject = IcePHP_defineClass('::Ice::UnknownSlicedObject', 'Ice_UnknownSlicedObject', -1, false, true, $Ice__t_Object, null, null);
interface Ice_ObjectFactory
{
public function create($id);
public function destroy();
}
interface Ice_ValueFactory
{
public function create($id);
}
class Ice_InitializationData
{
public function __construct($properties = null, $logger = null)
{
$this->properties = $properties;
$this->logger = $logger;
示例4: openNodeStdOut
public function openNodeStdOut($name, $count);
public function openRegistryStdErr($name, $count);
public function openRegistryStdOut($name, $count);
}
class AdminSessionPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IceGrid::AdminSession', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IceGrid::AdminSession', $facet);
}
}
$IceGrid__t_AdminSession = IcePHP_defineClass('::IceGrid::AdminSession', '\\IceGrid\\AdminSession', -1, true, false, $Ice__t_Object, array($Glacier2__t_Session), null);
$IceGrid__t_AdminSessionPrx = IcePHP_defineProxy($IceGrid__t_AdminSession);
IcePHP_defineOperation($IceGrid__t_AdminSession, 'keepAlive', 2, 2, 0, null, null, null, null);
IcePHP_defineOperation($IceGrid__t_AdminSession, 'getAdmin', 2, 1, 0, null, null, array($IceGrid__t_AdminPrx, false, 0), null);
IcePHP_defineOperation($IceGrid__t_AdminSession, 'getAdminCallbackTemplate', 2, 2, 0, null, null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($IceGrid__t_AdminSession, 'setObservers', 2, 2, 0, array(array($IceGrid__t_RegistryObserverPrx, false, 0), array($IceGrid__t_NodeObserverPrx, false, 0), array($IceGrid__t_ApplicationObserverPrx, false, 0), array($IceGrid__t_AdapterObserverPrx, false, 0), array($IceGrid__t_ObjectObserverPrx, false, 0)), null, null, array($IceGrid__t_ObserverAlreadyRegisteredException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'setObserversByIdentity', 2, 2, 0, array(array($Ice__t_Identity, false, 0), array($Ice__t_Identity, false, 0), array($Ice__t_Identity, false, 0), array($Ice__t_Identity, false, 0), array($Ice__t_Identity, false, 0)), null, null, array($IceGrid__t_ObserverAlreadyRegisteredException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'startUpdate', 0, 0, 0, null, null, array($IcePHP__t_int, false, 0), array($IceGrid__t_AccessDeniedException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'finishUpdate', 0, 0, 0, null, null, null, array($IceGrid__t_AccessDeniedException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'getReplicaName', 2, 2, 0, null, null, array($IcePHP__t_string, false, 0), null);
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openServerLog', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_ServerNotExistException, $IceGrid__t_NodeUnreachableException, $IceGrid__t_DeploymentException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openServerStdErr', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_ServerNotExistException, $IceGrid__t_NodeUnreachableException, $IceGrid__t_DeploymentException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openServerStdOut', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_ServerNotExistException, $IceGrid__t_NodeUnreachableException, $IceGrid__t_DeploymentException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openNodeStdErr', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_NodeNotExistException, $IceGrid__t_NodeUnreachableException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openNodeStdOut', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_NodeNotExistException, $IceGrid__t_NodeUnreachableException));
IcePHP_defineOperation($IceGrid__t_AdminSession, 'openRegistryStdErr', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0)), null, array($IceGrid__t_FileIteratorPrx, false, 0), array($IceGrid__t_FileNotAvailableException, $IceGrid__t_RegistryNotExistException, $IceGrid__t_RegistryUnreachableException));
示例5: addCallback
public function addCallback($cb);
public function removeCallback($cb);
public function getUptime();
public function getSlice();
public function getSliceChecksums();
}
class Murmur_MetaPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::Murmur::Meta', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::Murmur::Meta', $facet);
}
}
$Murmur__t_Meta = IcePHP_defineClass('::Murmur::Meta', 'Murmur_Meta', -1, true, false, $Ice__t_Object, null, null);
$Murmur__t_MetaPrx = IcePHP_defineProxy($Murmur__t_Meta);
IcePHP_defineOperation($Murmur__t_Meta, 'getServer', 2, 2, 0, array(array($IcePHP__t_int, false, 0)), null, array($Murmur__t_ServerPrx, false, 0), array($Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'newServer', 0, 0, 0, null, null, array($Murmur__t_ServerPrx, false, 0), array($Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'getBootedServers', 2, 2, 0, null, null, array($Murmur__t_ServerList, false, 0), array($Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'getAllServers', 2, 2, 0, null, null, array($Murmur__t_ServerList, false, 0), array($Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'getDefaultConf', 2, 2, 0, null, null, array($Murmur__t_ConfigMap, false, 0), array($Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'getVersion', 2, 2, 0, null, array(array($IcePHP__t_int, false, 0), array($IcePHP__t_int, false, 0), array($IcePHP__t_int, false, 0), array($IcePHP__t_string, false, 0)), null, null);
IcePHP_defineOperation($Murmur__t_Meta, 'addCallback', 0, 0, 0, array(array($Murmur__t_MetaCallbackPrx, false, 0)), null, null, array($Murmur__t_InvalidCallbackException, $Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'removeCallback', 0, 0, 0, array(array($Murmur__t_MetaCallbackPrx, false, 0)), null, null, array($Murmur__t_InvalidCallbackException, $Murmur__t_InvalidSecretException));
IcePHP_defineOperation($Murmur__t_Meta, 'getUptime', 2, 2, 0, null, null, array($IcePHP__t_int, false, 0), null);
IcePHP_defineOperation($Murmur__t_Meta, 'getSlice', 2, 2, 0, null, null, array($IcePHP__t_string, false, 0), null);
IcePHP_defineOperation($Murmur__t_Meta, 'getSliceChecksums', 2, 2, 0, null, null, array($Ice__t_SliceChecksumDict, false, 0), null);
}
示例6: IcePHP_defineException
$IcePatch2__t_FileAccessException = IcePHP_defineException('::IcePatch2::FileAccessException', '\\IcePatch2\\FileAccessException', false, null, array(array('reason', $IcePHP__t_string, false, 0)));
}
}
namespace IcePatch2 {
if (!interface_exists('\\IcePatch2\\FileServer')) {
interface FileServer
{
public function getFileInfoSeq($partition);
public function getChecksumSeq();
public function getChecksum();
public function getFileCompressed($path, $pos, $num);
}
class FileServerPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IcePatch2::FileServer', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IcePatch2::FileServer', $facet);
}
}
$IcePatch2__t_FileServer = IcePHP_defineClass('::IcePatch2::FileServer', '\\IcePatch2\\FileServer', -1, true, false, $Ice__t_Object, null, null);
$IcePatch2__t_FileServerPrx = IcePHP_defineProxy($IcePatch2__t_FileServer);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getFileInfoSeq', 2, 1, 0, array(array($IcePHP__t_int, false, 0)), null, array($IcePatch2__t_FileInfoSeq, false, 0), array($IcePatch2__t_PartitionOutOfRangeException));
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getChecksumSeq', 2, 1, 0, null, null, array($IcePatch2__t_ByteSeqSeq, false, 0), null);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getChecksum', 2, 1, 0, null, null, array($Ice__t_ByteSeq, false, 0), null);
IcePHP_defineOperation($IcePatch2__t_FileServer, 'getFileCompressed', 2, 1, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_int, false, 0), array($IcePHP__t_int, false, 0)), null, array($Ice__t_ByteSeq, false, 0), array($IcePatch2__t_FileAccessException));
}
}
示例7: IcePHP_defineException
$IceStorm__t_NoSuchTopic = IcePHP_defineException('::IceStorm::NoSuchTopic', '\\IceStorm\\NoSuchTopic', false, null, array(array('name', $IcePHP__t_string, false, 0)));
}
}
namespace IceStorm {
if (!interface_exists('\\IceStorm\\TopicManager')) {
interface TopicManager
{
public function create($name);
public function retrieve($name);
public function retrieveAll();
public function getSliceChecksums();
}
class TopicManagerPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IceStorm::TopicManager', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IceStorm::TopicManager', $facet);
}
}
$IceStorm__t_TopicManager = IcePHP_defineClass('::IceStorm::TopicManager', '\\IceStorm\\TopicManager', -1, true, false, $Ice__t_Object, null, null);
$IceStorm__t_TopicManagerPrx = IcePHP_defineProxy($IceStorm__t_TopicManager);
IcePHP_defineOperation($IceStorm__t_TopicManager, 'create', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, array($IceStorm__t_TopicPrx, false, 0), array($IceStorm__t_TopicExists));
IcePHP_defineOperation($IceStorm__t_TopicManager, 'retrieve', 2, 1, 0, array(array($IcePHP__t_string, false, 0)), null, array($IceStorm__t_TopicPrx, false, 0), array($IceStorm__t_NoSuchTopic));
IcePHP_defineOperation($IceStorm__t_TopicManager, 'retrieveAll', 2, 1, 0, null, null, array($IceStorm__t_TopicDict, false, 0), null);
IcePHP_defineOperation($IceStorm__t_TopicManager, 'getSliceChecksums', 2, 1, 0, null, null, array($Ice__t_SliceChecksumDict, false, 0), null);
}
}
示例8: getCategoryForClient
if (!interface_exists('\\Glacier2\\Router')) {
interface Router extends \Ice\Router
{
public function getCategoryForClient();
public function createSession($userId, $password);
public function createSessionFromSecureConnection();
public function refreshSession();
public function destroySession();
public function getSessionTimeout();
}
class RouterPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::Glacier2::Router', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::Glacier2::Router', $facet);
}
}
$Glacier2__t_Router = IcePHP_defineClass('::Glacier2::Router', '\\Glacier2\\Router', -1, true, false, $Ice__t_Object, array($Ice__t_Router), null);
$Glacier2__t_RouterPrx = IcePHP_defineProxy($Glacier2__t_Router);
IcePHP_defineOperation($Glacier2__t_Router, 'getCategoryForClient', 2, 1, 0, null, null, array($IcePHP__t_string, false, 0), null);
IcePHP_defineOperation($Glacier2__t_Router, 'createSession', 0, 0, 2, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_string, false, 0)), null, array($Glacier2__t_SessionPrx, false, 0), array($Glacier2__t_PermissionDeniedException, $Glacier2__t_CannotCreateSessionException));
IcePHP_defineOperation($Glacier2__t_Router, 'createSessionFromSecureConnection', 0, 0, 2, null, null, array($Glacier2__t_SessionPrx, false, 0), array($Glacier2__t_PermissionDeniedException, $Glacier2__t_CannotCreateSessionException));
IcePHP_defineOperation($Glacier2__t_Router, 'refreshSession', 0, 0, 0, null, null, null, array($Glacier2__t_SessionNotExistException));
IcePHP_defineOperation($Glacier2__t_Router, 'destroySession', 0, 0, 0, null, null, null, array($Glacier2__t_SessionNotExistException));
IcePHP_defineOperation($Glacier2__t_Router, 'getSessionTimeout', 2, 1, 0, null, null, array($IcePHP__t_long, false, 0), null);
}
}
示例9: ice_staticId
$this->outstanding = $outstanding;
$this->delivered = $delivered;
}
public static function ice_staticId()
{
return '::IceMX::SubscriberMetrics';
}
public function __toString()
{
global $IceMX__t_SubscriberMetrics;
return IcePHP_stringify($this, $IceMX__t_SubscriberMetrics);
}
public $queued;
public $outstanding;
public $delivered;
}
class SubscriberMetricsPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IceMX::SubscriberMetrics', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IceMX::SubscriberMetrics', $facet);
}
}
$IceMX__t_SubscriberMetrics = IcePHP_defineClass('::IceMX::SubscriberMetrics', '\\IceMX\\SubscriberMetrics', -1, false, false, $IceMX__t_Metrics, null, array(array('queued', $IcePHP__t_int, false, 0), array('outstanding', $IcePHP__t_int, false, 0), array('delivered', $IcePHP__t_long, false, 0)));
$IceMX__t_SubscriberMetricsPrx = IcePHP_defineProxy($IceMX__t_SubscriberMetrics);
}
}
示例10: isShutdown
public function isShutdown();
public function stringToProxy($str);
public function proxyToString($obj);
public function propertyToProxy($property);
public function proxyToProperty($proxy, $property);
public function stringToIdentity($str);
public function identityToString($ident);
public function createObjectAdapter($name);
public function createObjectAdapterWithEndpoints($name, $endpoints);
public function createObjectAdapterWithRouter($name, $rtr);
public function addObjectFactory($factory, $id);
public function findObjectFactory($id);
public function getImplicitContext();
public function getProperties();
public function getLogger();
public function getStats();
public function getObserver();
public function getDefaultRouter();
public function setDefaultRouter($rtr);
public function getDefaultLocator();
public function setDefaultLocator($loc);
public function getPluginManager();
public function flushBatchRequests();
public function getAdmin();
public function addAdminFacet($servant, $facet);
public function removeAdminFacet($facet);
public function findAdminFacet($facet);
}
$Ice__t_Communicator = IcePHP_defineClass('::Ice::Communicator', '\\Ice\\Communicator', -1, true, false, $Ice__t_Object, null, null);
}
}
示例11: __toString
}
public function __toString()
{
global $IceGrid__t_UserAccountNotFoundException;
return IcePHP_stringifyException($this, $IceGrid__t_UserAccountNotFoundException);
}
}
$IceGrid__t_UserAccountNotFoundException = IcePHP_defineException('::IceGrid::UserAccountNotFoundException', '\\IceGrid\\UserAccountNotFoundException', false, null, null);
}
namespace IceGrid;
if (!interface_exists('\\IceGrid\\UserAccountMapper')) {
interface UserAccountMapper
{
public function getUserAccount($user);
}
class UserAccountMapperPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IceGrid::UserAccountMapper', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IceGrid::UserAccountMapper', $facet);
}
}
$IceGrid__t_UserAccountMapper = IcePHP_defineClass('::IceGrid::UserAccountMapper', '\\IceGrid\\UserAccountMapper', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_UserAccountMapperPrx = IcePHP_defineProxy($IceGrid__t_UserAccountMapper);
IcePHP_defineOperation($IceGrid__t_UserAccountMapper, 'getUserAccount', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, array($IcePHP__t_string, false, 0), array($IceGrid__t_UserAccountNotFoundException));
}
示例12: getClientProxy
namespace {
require_once 'Ice/BuiltinSequences.php';
}
namespace Ice {
if (!interface_exists('\\Ice\\Router')) {
interface Router
{
public function getClientProxy();
public function getServerProxy();
public function addProxy($proxy);
public function addProxies($proxies);
}
class RouterPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::Ice::Router', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::Ice::Router', $facet);
}
}
$Ice__t_Router = IcePHP_defineClass('::Ice::Router', '\\Ice\\Router', -1, true, false, $Ice__t_Object, null, null);
$Ice__t_RouterPrx = IcePHP_defineProxy($Ice__t_Router);
IcePHP_defineOperation($Ice__t_Router, 'getClientProxy', 2, 1, 0, null, null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($Ice__t_Router, 'getServerProxy', 2, 1, 0, null, null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($Ice__t_Router, 'addProxy', 2, 2, 0, array(array($Ice__t_ObjectPrx, false, 0)), null, null, null);
IcePHP_defineOperation($Ice__t_Router, 'addProxies', 2, 2, 0, array(array($Ice__t_ObjectProxySeq, false, 0)), null, array($Ice__t_ObjectProxySeq, false, 0), null);
}
}
示例13: IcePHP_defineClass
{
return $proxy->ice_uncheckedCast('::Glacier2::PermissionsVerifier', $facet);
}
}
$Glacier2__t_PermissionsVerifier = IcePHP_defineClass('::Glacier2::PermissionsVerifier', '\\Glacier2\\PermissionsVerifier', -1, true, false, $Ice__t_Object, null, null);
$Glacier2__t_PermissionsVerifierPrx = IcePHP_defineProxy($Glacier2__t_PermissionsVerifier);
IcePHP_defineOperation($Glacier2__t_PermissionsVerifier, 'checkPermissions', 2, 1, 2, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_string, false, 0)), array(array($IcePHP__t_string, false, 0)), array($IcePHP__t_bool, false, 0), array($Glacier2__t_PermissionDeniedException));
}
}
namespace Glacier2 {
if (!interface_exists('\\Glacier2\\SSLPermissionsVerifier')) {
interface SSLPermissionsVerifier
{
public function authorize($info, $reason);
}
class SSLPermissionsVerifierPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::Glacier2::SSLPermissionsVerifier', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::Glacier2::SSLPermissionsVerifier', $facet);
}
}
$Glacier2__t_SSLPermissionsVerifier = IcePHP_defineClass('::Glacier2::SSLPermissionsVerifier', '\\Glacier2\\SSLPermissionsVerifier', -1, true, false, $Ice__t_Object, null, null);
$Glacier2__t_SSLPermissionsVerifierPrx = IcePHP_defineProxy($Glacier2__t_SSLPermissionsVerifier);
IcePHP_defineOperation($Glacier2__t_SSLPermissionsVerifier, 'authorize', 2, 1, 2, array(array($Glacier2__t_SSLInfo, false, 0)), array(array($IcePHP__t_string, false, 0)), array($IcePHP__t_bool, false, 0), array($Glacier2__t_PermissionDeniedException));
}
}
示例14: IcePHP_defineOperation
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectAdded', 0, 0, 0, array(array($IceGrid__t_ObjectInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectUpdated', 0, 0, 0, array(array($IceGrid__t_ObjectInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectRemoved', 0, 0, 0, array(array($Ice__t_Identity, false, 0)), null, null, null);
}
}
namespace IceGrid {
if (!interface_exists('\\IceGrid\\RegistryObserver')) {
interface RegistryObserver
{
public function registryInit($registries);
public function registryUp($node);
public function registryDown($name);
}
class RegistryObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx = null, $ctx = null)
{
return $proxy->ice_checkedCast('::IceGrid::RegistryObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet = null)
{
return $proxy->ice_uncheckedCast('::IceGrid::RegistryObserver', $facet);
}
}
$IceGrid__t_RegistryObserver = IcePHP_defineClass('::IceGrid::RegistryObserver', '\\IceGrid\\RegistryObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_RegistryObserverPrx = IcePHP_defineProxy($IceGrid__t_RegistryObserver);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryInit', 0, 0, 0, array(array($IceGrid__t_RegistryInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryUp', 0, 0, 0, array(array($IceGrid__t_RegistryInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryDown', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, null);
}
}
示例15: create
<?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 `ObjectFactory.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
namespace Ice;
if (!interface_exists('\\Ice\\ObjectFactory')) {
interface ObjectFactory
{
public function create($type);
public function destroy();
}
$Ice__t_ObjectFactory = IcePHP_defineClass('::Ice::ObjectFactory', '\\Ice\\ObjectFactory', -1, true, false, $Ice__t_Object, null, null);
}