<?php
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// <auto-generated>
//
// Generated from file `GenericPeer.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//


namespace
{
    require_once 'Destroyable.php';
    require_once 'Peer/Company.php';
    require_once 'Peer/Variable.php';
}

namespace Smartswitch\Peer
{
    global $Smartswitch_Peer__t_GenericPeer;
    global $Smartswitch_Peer__t_GenericPeerPrx;

    class GenericPeerPrxHelper
    {
        public static function checkedCast($proxy, $facetOrContext=null, $context=null)
        {
            return $proxy->ice_checkedCast('::Smartswitch::Peer::GenericPeer', $facetOrContext, $context);
        }

        public static function uncheckedCast($proxy, $facet=null)
        {
            return $proxy->ice_uncheckedCast('::Smartswitch::Peer::GenericPeer', $facet);
        }

        public static function ice_staticId()
        {
            return '::Smartswitch::Peer::GenericPeer';
        }
    }
    $Smartswitch_Peer__t_GenericPeer = IcePHP_defineClass('::Smartswitch::Peer::GenericPeer', '\\Smartswitch\\Peer\\GenericPeer', -1, false, true, null, null);

    global $Ice__t_ObjectPrx;
    $Smartswitch_Peer__t_GenericPeerPrx = IcePHP_defineProxy('::Smartswitch::Peer::GenericPeer', $Ice__t_ObjectPrx, array($Smartswitch__t_DestroyablePrx));

    global $IcePHP__t_long;
    global $IcePHP__t_string;
    global $Smartswitch_Peer__t_CompanyPrx;
    global $Smartswitch_Peer__t_VariableSequence;
    global $Smartswitch_Peer__t_Variable;
    IcePHP_defineOperation($Smartswitch_Peer__t_GenericPeerPrx, 'getId', 2, 2, 0, null, null, array($IcePHP__t_long), null);
    IcePHP_defineOperation($Smartswitch_Peer__t_GenericPeerPrx, 'getName', 2, 2, 0, null, null, array($IcePHP__t_string), array($Smartswitch__t_AccessException));
    IcePHP_defineOperation($Smartswitch_Peer__t_GenericPeerPrx, 'getCompany', 0, 0, 0, null, null, array($Smartswitch_Peer__t_CompanyPrx), array($Smartswitch__t_AccessException));
    IcePHP_defineOperation($Smartswitch_Peer__t_GenericPeerPrx, 'getVariables', 0, 0, 0, null, null, array($Smartswitch_Peer__t_VariableSequence), array($Smartswitch__t_AccessException));
    IcePHP_defineOperation($Smartswitch_Peer__t_GenericPeerPrx, 'insertVariable', 0, 0, 0, array(array($Smartswitch_Peer__t_Variable)), null, null, array($Smartswitch__t_AccessException));
}
?>
