edu.stanford.slac.aida.dp.dpTestHist
Class DpTestHistI_impl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by edu.stanford.slac.aida.dp.dpTestHist.DpTestHistIPOA
          extended by edu.stanford.slac.aida.dp.dpTestHist.DpTestHistI_impl
All Implemented Interfaces:
DpTestHistIOperations, org.omg.CORBA.portable.InvokeHandler

public class DpTestHistI_impl
extends DpTestHistIPOA

The CORBA servant implementation of the DpTestHist server. The purpose of this servant is to demonstrate a Java implementation of an AIDA data provider servant which returns data through a bespoke IDL structure (in this example histdata).

Version:
28-Sep-2006, Bob Hall (rdh): Added args parameter to set method., 16-Sep-2004, Greg White (greg): Convert for Err singleton re-write.
Author:
Greg White Jan-2004.

Constructor Summary
DpTestHistI_impl(_PersistentDaObject da, org.omg.PortableServer.POA poa)
           
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
           
 boolean get_boolean(java.lang.String target, java.lang.String[] args)
           
 boolean[] get_booleana(java.lang.String target, java.lang.String[] args)
           
 byte get_byte(java.lang.String target, java.lang.String[] args)
           
 byte[] get_bytea(java.lang.String target, java.lang.String[] args)
           
 char get_char(java.lang.String target, java.lang.String[] args)
           
 char[] get_chara(java.lang.String target, java.lang.String[] args)
           
 double get_double(java.lang.String target, java.lang.String[] args)
           
 double[] get_doublea(java.lang.String target, java.lang.String[] args)
           
 float get_float(java.lang.String target, java.lang.String[] args)
           
 float[] get_floata(java.lang.String target, java.lang.String[] args)
           
 int get_long(java.lang.String target, java.lang.String[] args)
           
 int[] get_longa(java.lang.String target, java.lang.String[] args)
           
 short get_short(java.lang.String target, java.lang.String[] args)
           
 short[] get_shorta(java.lang.String target, java.lang.String[] args)
           
 java.lang.String get_string(java.lang.String target, java.lang.String[] args)
           
 java.lang.String[] get_stringa(java.lang.String target, java.lang.String[] args)
           
 char get_wchar(java.lang.String target, java.lang.String[] args)
           
 char[] get_wchara(java.lang.String target, java.lang.String[] args)
           
 java.lang.String get_wstring(java.lang.String target, java.lang.String[] args)
           
 org.omg.CORBA.Any get(java.lang.String target, java.lang.String[] args)
           
 void init()
           
 void set(java.lang.String target, java.lang.String[] args, org.omg.CORBA.AnyHolder value)
           
 void shutdown()
           
 void startMonitor(java.lang.String name)
           
 int status()
           
 void stopMonitor(java.lang.String name)
           
 
Methods inherited from class edu.stanford.slac.aida.dp.dpTestHist.DpTestHistIPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DpTestHistI_impl

public DpTestHistI_impl(_PersistentDaObject da,
                        org.omg.PortableServer.POA poa)
Method Detail

_default_POA

public org.omg.PortableServer.POA _default_POA()
Overrides:
_default_POA in class org.omg.PortableServer.Servant

init

public void init()
          throws edu.stanford.slac.except.ServerInitialisationException
Throws:
edu.stanford.slac.except.ServerInitialisationException

get

public org.omg.CORBA.Any get(java.lang.String target,
                             java.lang.String[] args)
                      throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_byte

public byte get_byte(java.lang.String target,
                     java.lang.String[] args)
              throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_short

public short get_short(java.lang.String target,
                       java.lang.String[] args)
                throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_long

public int get_long(java.lang.String target,
                    java.lang.String[] args)
             throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_boolean

public boolean get_boolean(java.lang.String target,
                           java.lang.String[] args)
                    throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_double

public double get_double(java.lang.String target,
                         java.lang.String[] args)
                  throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_float

public float get_float(java.lang.String target,
                       java.lang.String[] args)
                throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_string

public java.lang.String get_string(java.lang.String target,
                                   java.lang.String[] args)
                            throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_char

public char get_char(java.lang.String target,
                     java.lang.String[] args)
              throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_wstring

public java.lang.String get_wstring(java.lang.String target,
                                    java.lang.String[] args)
                             throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_wchar

public char get_wchar(java.lang.String target,
                      java.lang.String[] args)
               throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_bytea

public byte[] get_bytea(java.lang.String target,
                        java.lang.String[] args)
                 throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_shorta

public short[] get_shorta(java.lang.String target,
                          java.lang.String[] args)
                   throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_longa

public int[] get_longa(java.lang.String target,
                       java.lang.String[] args)
                throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_booleana

public boolean[] get_booleana(java.lang.String target,
                              java.lang.String[] args)
                       throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_doublea

public double[] get_doublea(java.lang.String target,
                            java.lang.String[] args)
                     throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_floata

public float[] get_floata(java.lang.String target,
                          java.lang.String[] args)
                   throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_stringa

public java.lang.String[] get_stringa(java.lang.String target,
                                      java.lang.String[] args)
                               throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_chara

public char[] get_chara(java.lang.String target,
                        java.lang.String[] args)
                 throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

get_wchara

public char[] get_wchara(java.lang.String target,
                         java.lang.String[] args)
                  throws edu.stanford.slac.except.UnableToGetDataException
Throws:
edu.stanford.slac.except.UnableToGetDataException

set

public void set(java.lang.String target,
                java.lang.String[] args,
                org.omg.CORBA.AnyHolder value)
         throws edu.stanford.slac.except.UnableToSetDataException
Throws:
edu.stanford.slac.except.UnableToSetDataException

startMonitor

public void startMonitor(java.lang.String name)
                  throws edu.stanford.slac.except.MonitorStartupException
Throws:
edu.stanford.slac.except.MonitorStartupException

stopMonitor

public void stopMonitor(java.lang.String name)
                 throws edu.stanford.slac.except.MonitorShutdownException
Throws:
edu.stanford.slac.except.MonitorShutdownException

status

public int status()

shutdown

public void shutdown()