SubActionInitiator
Class SubActionInitiator

java.lang.Object
  extended by SubActionInitiator.SubActionInitiator
All Implemented Interfaces:
SubActionCompletionListenerOperations

 class SubActionInitiator
extends java.lang.Object
implements SubActionCompletionListenerOperations


Field Summary
private  SubActionCompletionListenerImpl CompletionListener
          This is a listener object which will be called when the subaction terminates
protected  org.omg.CORBA.ORB Orb
          The CORBA request broker or ORB which will be used for handling CORBA requests
private  org.omg.PortableServer.POA Poa
          The portable object adapter which will be used by this class
private  org.omg.CosNaming.NamingContextExt RootNamingServiceContext
          This is a reference to the COS naming service
(package private)  MessageHandler SyslogMessageHandler
          Message handler
 
Constructor Summary
SubActionInitiator(java.lang.String SubActionName, java.lang.String[] argv, MessageHandler SyslogMessageHandler)
           
 
Method Summary
static void main(java.lang.String[] args)
          This is the main method for this class
 void subActionEnded(java.lang.String SubactionName, java.lang.String MechanismName, java.lang.String InstrumentName, int ReasonCode, java.lang.String Reason, int CmdError, java.lang.String CmdErrorStr, int MechError, java.lang.String Severity, java.lang.String MechErrorStr)
          This is the contractual obligation of this class to implement the callback for the SubActionCompletionListenerOperations interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CompletionListener

private SubActionCompletionListenerImpl CompletionListener
This is a listener object which will be called when the subaction terminates


SyslogMessageHandler

MessageHandler SyslogMessageHandler
Message handler


RootNamingServiceContext

private org.omg.CosNaming.NamingContextExt RootNamingServiceContext
This is a reference to the COS naming service


Orb

protected org.omg.CORBA.ORB Orb
The CORBA request broker or ORB which will be used for handling CORBA requests


Poa

private org.omg.PortableServer.POA Poa
The portable object adapter which will be used by this class

Constructor Detail

SubActionInitiator

public SubActionInitiator(java.lang.String SubActionName,
                          java.lang.String[] argv,
                          MessageHandler SyslogMessageHandler)
Parameters:
SubActionName -
argv -
SyslogMessageHandler -
Method Detail

subActionEnded

public void subActionEnded(java.lang.String SubactionName,
                           java.lang.String MechanismName,
                           java.lang.String InstrumentName,
                           int ReasonCode,
                           java.lang.String Reason,
                           int CmdError,
                           java.lang.String CmdErrorStr,
                           int MechError,
                           java.lang.String Severity,
                           java.lang.String MechErrorStr)
This is the contractual obligation of this class to implement the callback for the SubActionCompletionListenerOperations interface

Specified by:
subActionEnded in interface SubActionCompletionListenerOperations
Parameters:
SubactionName -
MechanismName -
InstrumentName -
ReasonCode -
Reason -
CmdError -
CmdErrorStr -
MechError -
Severity -
MechErrorStr -

main

public static void main(java.lang.String[] args)
This is the main method for this class

Parameters:
args -