    1   package org.activeio.oneport;
    2
    3   /***
    4    * Interface definition: TestIIOPServer.
    5    *
    6    * @author OpenORB Compiler
    7    */
    8   public class TestIIOPServerPOATie extends TestIIOPServerPOA
    9   {
    10
    11      //
    12      // Private reference to implementation object
    13      //
    14      private TestIIOPServerOperations _tie;
    15
    16      //
    17      // Private reference to POA
    18      //
    19      private org.omg.PortableServer.POA _poa;
    20
    21      /***
    22       * Constructor
    23       */
    24      public TestIIOPServerPOATie(TestIIOPServerOperations tieObject)
    25      {
    26          _tie = tieObject;
    27      }
    28
    29      /***
    30       * Constructor
    31       */
    32      public TestIIOPServerPOATie(TestIIOPServerOperations tieObject, org.omg.PortableServer.POA poa)
    33      {
    34          _tie = tieObject;
    35          _poa = poa;
    36      }
    37
    38      /***
    39       * Get the delegate
    40       */
    41      public TestIIOPServerOperations _delegate()
    42      {
    43          return _tie;
    44      }
    45
    46      /***
    47       * Set the delegate
    48       */
    49      public void _delegate(TestIIOPServerOperations delegate_)
    50      {
    51          _tie = delegate_;
    52      }
    53
    54      /***
    55       * _default_POA method
    56       */
    57      public org.omg.PortableServer.POA _default_POA()
    58      {
    59          if (_poa != null)
    60              return _poa;
    61          else
    62              return super._default_POA();
    63      }
    64
    65      /***
    66       * Operation test
    67       */
    68      public void test()
    69      {
    70          _tie.test();
    71      }
    72
    73  }