org.jlab.coda.afecs.system
Class ABase

java.lang.Object
  extended by org.jlab.coda.afecs.system.ABase
Direct Known Subclasses:
AAParent, AContainer, AControlDesigner, ADalogArchiver, APlatform

public class ABase
extends java.lang.Object

JSA: Thomas Jefferson National Accelerator Facility
This software was developed under a United States Government license,
described in the NOTICE file included as part of this distribution.
Copyright (c), Aug 13, 2009

This is a parent class for all Afecs agents (including platform normative agents). It encapsulates cMsg as well as rcDomain connection and communication details. Contains utility methods for sending daLog messages, converting objects to byteArrays, and byteArrays to objects.


Field Summary
 AConfig myConfig
           
 org.jlab.coda.cMsg.cMsg myCRCClientConnection
           
 java.lang.String myName
           
 org.jlab.coda.cMsg.cMsg myPlatformConnection
           
 org.jlab.coda.cMsg.cMsg myRcDomainConnection
           
 
Constructor Summary
ABase()
          Constructor gets the sigleton object of constants
ABase(java.lang.String plUDL, java.lang.String plMulticastUDL, java.lang.String plDescription, java.lang.String plEXPID)
          Used by GUI's only
 
Method Summary
 java.lang.Object B2O(byte[] bytes)
          Converts byte array into an Object, that can be cast into preknown class object.
 void codaInfoGetCodaClass()
           
 void codaInfoGetObjectType()
           
 void codaInfoGetState()
           
 void codaInfoGetStatus()
           
 java.lang.String codaInfoSyncGetCodaClass(int to)
           
 java.lang.String codaInfoSyncGetObjectType(int to)
           
 java.lang.String codaInfoSyncGetStatus(int to)
           
 org.jlab.coda.cMsg.cMsg connect()
          Connects to the platform cMsg domain server
 org.jlab.coda.cMsg.cMsg connect(java.lang.String udl)
          Connects to the platform cMsg domain server
 org.jlab.coda.cMsg.cMsg connect(java.lang.String udl, java.lang.String name, java.lang.String description)
          Connects to the platform cMsg domain server
 boolean dalogMsg(AComponent c, int severityId, java.lang.String severity, java.lang.String text)
          Sends daLogMsg subject = component name and type = rc/report/dalog
 boolean dalogMsg(java.lang.String name, int severityId, java.lang.String severity, java.lang.String text)
          Sends daLogMsg subject = component name and type = rc/report/dalog
 boolean disconnect()
          Disconnects from the platform
 java.lang.String getCurrentTime()
          Gets the current time and returns string representation of it.
 java.lang.String getCurrentTime(java.lang.String format)
          Gets the current time and returns string representation of it.
 long getCurrentTimeInMs()
          Current time in milisecods.
 java.lang.String getPlDescription()
           
 java.lang.String getPlEXPID()
           
 java.lang.String getPlMulticastUDL()
           
 java.lang.String getPlUDL()
           
 boolean isConnected()
          See if the agent is connected to the platform through cMsg native connection
 int isNumber(java.lang.String s)
           
 boolean isRcClientConnected()
          See if component is connected to the client through rcDomain connection
 java.lang.String msg2xml(org.jlab.coda.cMsg.cMsgMessage m)
          converts cMSgMessage into a xml string
 boolean msgForward(org.jlab.coda.cMsg.cMsgMessage msg)
           
 org.jlab.coda.cMsg.cMsg multicastConnect()
          Connects to the platform cMsg domain server through multicast
 org.jlab.coda.cMsg.cMsg multicastConnect(java.lang.String udl)
          Connects to the platform cMsg domain server through multicast
 byte[] O2B(java.lang.Object object)
          Converts object into a byte array
 org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.Object obj, int timeout)
          cMsg sendAndGet with an object
 org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.String textS, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis, int timeout)
          cMsg sendAndGet with a text and payload
 org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.String textS, int timeout)
          cMsg sendAndGet sends a simple sumbeject with a text
 org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.String textS, java.lang.Object obj, int timeout)
          cMsg sendAndGet with a text and an object
 boolean rcClientConnect(java.lang.String udl)
           
 boolean rcClientDisconnect()
          Disconnects from the rcDomain
 java.lang.String rcClientInfoSyncGetState(int to)
           
 org.jlab.coda.cMsg.cMsg rcConnect()
          Connects to the platform rc domain multicast server.
 org.jlab.coda.cMsg.cMsgMessage rcMonitor()
          Monitors platform rc domain multicast server.
 org.jlab.coda.cMsg.cMsgMessage rcp2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.String textS, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis, int timeout)
          Implementation of cMsg sendAndGet for RC domain connections.
 org.jlab.coda.cMsg.cMsgMessage rcp2pSend(java.lang.String subjectS, java.lang.String typeS, java.lang.String textS, int timeout)
          Implementation of cMsg sendAndGet for RC domain connections.
 boolean rcSend(java.lang.String subject, java.lang.String type, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends rcDomain cMsg Message including payload items, described
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.Object obj)
          Sends rcDomain cMsg Message
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.Object obj, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends rcDomain cMsg Message
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.String text)
          Sends rcDomain cMsg Message (usually to the physical client)
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.String text, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends rcDomain cMsg Message
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.String text, int usrint)
          Sends rcDomain cMsg Message (usually to the physical client)
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.String text, java.lang.Object obj)
          Sends rcDomain cMsg Message
 boolean rcSend(java.lang.String subject, java.lang.String type, java.lang.String text, java.lang.Object obj, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends rcDomain cMsg Message
 java.lang.String readFileAsString(java.lang.String filePath)
           
 void removeUnixShellProcess(java.lang.String name)
          This method is for unix os only.
 boolean reporAlarmMsg(java.lang.String s, AComponent c, int severityId, java.lang.String severity, java.lang.String text)
          Sends alarm message to a perdefined type AConstants.AgentReportAlarm
 boolean reportAlarmMsg(java.lang.String s, AComponent c)
          Sends alarm message to a predefined type AConstants.AgentReportAlarm
 boolean reportAlarmMsg(java.lang.String s, java.lang.String name, int severityId, java.lang.String severity, java.lang.String text)
          Sends alarm message to a perdefined type AConstants.AgentReportAlarm
 void runControlGetConfigId()
           
 void runControlGetRunNumber()
           
 void runControlGetRunType()
           
 void runControlSetRunNumber(int i)
           
 void runControlSetRunType(java.lang.String s)
           
 int runControlSyncGetRunNumber(int to)
           
 java.lang.String runControlSyncGetRunType(int to)
           
 ShellProcess runShellCommand(java.lang.String command)
          Runs a shell command
 boolean send(java.lang.String subject, java.lang.String type, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.Object obj)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.Object obj, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.String text)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.String text, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.String text, java.lang.Object obj)
          Sends cMsg Message
 boolean send(java.lang.String subject, java.lang.String type, java.lang.String text, java.lang.Object obj, java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
          Sends cMsg Message
 void sessionControlConfigure(java.lang.String s)
           
 void sessionControlExit()
           
 void sessionControlGetSession()
           
 void sessionControlSetInterval(java.lang.String s)
           
 void sessionControlSetSession(java.lang.String s)
           
 void sessionControlSetState(java.lang.String s)
           
 void sessionControlStartReporting()
           
 void sessionControlStopReporting()
           
 java.lang.String sessionControlSyncGetSession(int to)
           
 void sleep(int msec)
          Convenient method to force main thread to sleep.
 java.lang.String updateHostUdl(java.lang.String host, int port)
          used by GUIs, after finding the platform host, to connect to the platform cMsg server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myPlatformConnection

public org.jlab.coda.cMsg.cMsg myPlatformConnection

myRcDomainConnection

public org.jlab.coda.cMsg.cMsg myRcDomainConnection

myCRCClientConnection

public org.jlab.coda.cMsg.cMsg myCRCClientConnection

myName

public java.lang.String myName

myConfig

public AConfig myConfig
Constructor Detail

ABase

public ABase()
Constructor gets the sigleton object of constants


ABase

public ABase(java.lang.String plUDL,
             java.lang.String plMulticastUDL,
             java.lang.String plDescription,
             java.lang.String plEXPID)
Used by GUI's only

Parameters:
plUDL -
plMulticastUDL -
plDescription -
plEXPID -
Method Detail

updateHostUdl

public java.lang.String updateHostUdl(java.lang.String host,
                                      int port)
used by GUIs, after finding the platform host, to connect to the platform cMsg server

Parameters:
host - platform host
Returns:
UDL

getPlUDL

public java.lang.String getPlUDL()

getPlMulticastUDL

public java.lang.String getPlMulticastUDL()

getPlDescription

public java.lang.String getPlDescription()

getPlEXPID

public java.lang.String getPlEXPID()

rcConnect

public org.jlab.coda.cMsg.cMsg rcConnect()
Connects to the platform rc domain multicast server. Join the platform request Asking for a representative agent on the platform.

Returns:
cMsg connection object

rcMonitor

public org.jlab.coda.cMsg.cMsgMessage rcMonitor()
Monitors platform rc domain multicast server.

Returns:
cMsgMessage contains the responders, i.e. platform front-end containers host.

connect

public org.jlab.coda.cMsg.cMsg connect()
Connects to the platform cMsg domain server

Returns:
cMsg connection object

connect

public org.jlab.coda.cMsg.cMsg connect(java.lang.String udl)
Connects to the platform cMsg domain server

Parameters:
udl - address of the connection
Returns:
cMsg connection object

multicastConnect

public org.jlab.coda.cMsg.cMsg multicastConnect()
Connects to the platform cMsg domain server through multicast

Returns:
cMsg connection object

multicastConnect

public org.jlab.coda.cMsg.cMsg multicastConnect(java.lang.String udl)
Connects to the platform cMsg domain server through multicast

Parameters:
udl - multicast udl address of the connection
Returns:
cMsg connection object

connect

public org.jlab.coda.cMsg.cMsg connect(java.lang.String udl,
                                       java.lang.String name,
                                       java.lang.String description)
Connects to the platform cMsg domain server

Parameters:
udl - udl of the connection
name - name of the requester to connect
description - of the connection
Returns:
cMsg connection object

disconnect

public boolean disconnect()
Disconnects from the platform

Returns:
status of the disconnect operation

rcClientDisconnect

public boolean rcClientDisconnect()
Disconnects from the rcDomain

Returns:
status of the disconnect operation

rcClientConnect

public boolean rcClientConnect(java.lang.String udl)

isRcClientConnected

public boolean isRcClientConnected()
See if component is connected to the client through rcDomain connection

Returns:
true if connected to the p2p rcdomain client connection

isConnected

public boolean isConnected()
See if the agent is connected to the platform through cMsg native connection

Returns:
true if connected to the platform

msgForward

public boolean msgForward(org.jlab.coda.cMsg.cMsgMessage msg)

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.String text)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.Object obj)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
obj - that is going to be serialized and sent as a byte array
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.String text,
                    java.lang.Object obj)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
obj - that is going to be serialized and sent as a byte array
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
pis - of payload items of the message of the message
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.String text,
                    java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
pis - of payload items of the message of the message
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.Object obj,
                    java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
obj - that is going to be serialized and sent as a byte array
pis - of payload items of the message of the message
Returns:
status of the send operation

send

public boolean send(java.lang.String subject,
                    java.lang.String type,
                    java.lang.String text,
                    java.lang.Object obj,
                    java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
obj - that is going to be serialized and sent as a byte array
pis - of payload items of the message of the message
Returns:
status of the send operation

p2pSend

public org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS,
                                              java.lang.String typeS,
                                              java.lang.String textS,
                                              int timeout)
cMsg sendAndGet sends a simple sumbeject with a text

Parameters:
subjectS - subject
typeS - type
textS - text
timeout - timeout
Returns:
cMsgMessage object

p2pSend

public org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS,
                                              java.lang.String typeS,
                                              java.lang.String textS,
                                              java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis,
                                              int timeout)
cMsg sendAndGet with a text and payload

Parameters:
subjectS - subject
typeS - type
textS - text
pis - of payload items of the message of the message
timeout - timeout
Returns:
cMsgMessage object

p2pSend

public org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS,
                                              java.lang.String typeS,
                                              java.lang.Object obj,
                                              int timeout)
cMsg sendAndGet with an object

Parameters:
subjectS - subject
typeS - type
obj - object sent through binary payload (byteArray)
timeout - timeout
Returns:
cMsgMessage object

p2pSend

public org.jlab.coda.cMsg.cMsgMessage p2pSend(java.lang.String subjectS,
                                              java.lang.String typeS,
                                              java.lang.String textS,
                                              java.lang.Object obj,
                                              int timeout)
cMsg sendAndGet with a text and an object

Parameters:
subjectS - subject
typeS - type
textS - text
obj - object sent through binary payload (byteArray)
timeout - timeout
Returns:
cMsgMessage object

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.String text)
Sends rcDomain cMsg Message (usually to the physical client)

Parameters:
subject - of the message
type - of the message
text - of the message
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.String text,
                      int usrint)
Sends rcDomain cMsg Message (usually to the physical client)

Parameters:
subject - of the message
type - of the message
text - of the message
usrint - of the message
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.Object obj)
Sends rcDomain cMsg Message

Parameters:
subject - of the message
type - of the message
obj - that is going to be serialized and sent as a byte array
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.String text,
                      java.lang.Object obj)
Sends rcDomain cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
obj - that is going to be serialized and sent as a byte array
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends rcDomain cMsg Message including payload items, described

Parameters:
subject - of the message
type - of the message
pis - ArrayListg of payload items of the message
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.String text,
                      java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends rcDomain cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
pis - ArrayListg of payload items of the message
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.Object obj,
                      java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends rcDomain cMsg Message

Parameters:
subject - of the message
type - of the message
obj - that is going to be serialized and sent as a byte array
pis - ArrayListg of payload items of the message
Returns:
status of the send operation

rcSend

public boolean rcSend(java.lang.String subject,
                      java.lang.String type,
                      java.lang.String text,
                      java.lang.Object obj,
                      java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis)
Sends rcDomain cMsg Message

Parameters:
subject - of the message
type - of the message
text - of the message
obj - that is going to be serialized and sent as a byte array
pis - ArrayListg of payload items of the message
Returns:
status of the send operation

rcp2pSend

public org.jlab.coda.cMsg.cMsgMessage rcp2pSend(java.lang.String subjectS,
                                                java.lang.String typeS,
                                                java.lang.String textS,
                                                int timeout)
Implementation of cMsg sendAndGet for RC domain connections. Method waits timeout secods in 1sec increments untill message arrives in ABase.ACallback or timeout is reached. Then it will force cMsg unsubscribe.

Parameters:
subjectS - subject to send the message
typeS - type to send the message
textS - text of the send message
timeout - in seconds
Returns:
cMsgMessage object

rcp2pSend

public org.jlab.coda.cMsg.cMsgMessage rcp2pSend(java.lang.String subjectS,
                                                java.lang.String typeS,
                                                java.lang.String textS,
                                                java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> pis,
                                                int timeout)
Implementation of cMsg sendAndGet for RC domain connections. Method waits timeout secods in 1sec increments untill message arrives in ABase.ACallback or timeout is reached. Then it will force cMsg unsubscribe.

Parameters:
subjectS - subject to send the message
typeS - type to send the message
textS - text of the send message
pis - ArrayListg of payload items of the message
timeout - in seconds
Returns:
cMsgMessage object

dalogMsg

public boolean dalogMsg(AComponent c,
                        int severityId,
                        java.lang.String severity,
                        java.lang.String text)
Sends daLogMsg subject = component name and type = rc/report/dalog

Parameters:
c - AComponent object reference
severityId - severity id
severity - severity string ( ERROR, WARNING, etc.)
text - of the dalog message
Returns:
status of the operation

dalogMsg

public boolean dalogMsg(java.lang.String name,
                        int severityId,
                        java.lang.String severity,
                        java.lang.String text)
Sends daLogMsg subject = component name and type = rc/report/dalog

Parameters:
name - of the initiater
severityId - severity id
severity - severity string ( ERROR, WARNING, etc.)
text - of the dalog message
Returns:
status of the operation

reportAlarmMsg

public boolean reportAlarmMsg(java.lang.String s,
                              AComponent c)
Sends alarm message to a predefined type AConstants.AgentReportAlarm

Parameters:
s - the subject of the dalog message
c - AComponent object reference
Returns:
status of the operation

reporAlarmMsg

public boolean reporAlarmMsg(java.lang.String s,
                             AComponent c,
                             int severityId,
                             java.lang.String severity,
                             java.lang.String text)
Sends alarm message to a perdefined type AConstants.AgentReportAlarm

Parameters:
s - the subject of the dalog message
c - AComponent object reference
severityId - severity id
severity - severity string ( ERROR, WARNING, etc.)
text - of the alarm message
Returns:
status of the operation

reportAlarmMsg

public boolean reportAlarmMsg(java.lang.String s,
                              java.lang.String name,
                              int severityId,
                              java.lang.String severity,
                              java.lang.String text)
Sends alarm message to a perdefined type AConstants.AgentReportAlarm

Parameters:
s - the subject of the alarm message, usually receiver
name - of the component sending the dalog message
severityId - severity id
severity - severity string ( ERROR, WARNING, etc.)
text - of the alarm message
Returns:
status of the operation

O2B

public byte[] O2B(java.lang.Object object)
           throws java.io.IOException
Converts object into a byte array

Parameters:
object - to be converted. Probably it must be serializable
Returns:
byte array
Throws:
java.io.IOException - in case there is an io problem.

B2O

public java.lang.Object B2O(byte[] bytes)
                     throws java.io.IOException,
                            java.lang.ClassNotFoundException
Converts byte array into an Object, that can be cast into preknown class object.

Parameters:
bytes - byte array
Returns:
Object
Throws:
java.io.IOException - case will return null
java.lang.ClassNotFoundException - case will return null

msg2xml

public java.lang.String msg2xml(org.jlab.coda.cMsg.cMsgMessage m)
converts cMSgMessage into a xml string

Parameters:
m - cMsgMessage object
Returns:
xml representation of the message

sleep

public void sleep(int msec)
Convenient method to force main thread to sleep.

Parameters:
msec - sleep parameter is in msecods.

isNumber

public int isNumber(java.lang.String s)

runShellCommand

public ShellProcess runShellCommand(java.lang.String command)
Runs a shell command

Parameters:
command - string
Returns:
ShellProcess object

removeUnixShellProcess

public void removeUnixShellProcess(java.lang.String name)
This method is for unix os only. Takes the name of the process. Runs a shell process to find the ID of the process with that name. Then starts another unix process to kill the process whith that id.

Parameters:
name - of the process

getCurrentTime

public java.lang.String getCurrentTime()
Gets the current time and returns string representation of it. N.B. package has one other geCurrentTime method defined in AConfig class

Returns:
string representing the current time.

getCurrentTime

public java.lang.String getCurrentTime(java.lang.String format)
Gets the current time and returns string representation of it. N.B. package has one other geCurrentTime method defined in

Parameters:
format - format string AConfig class
Returns:
string representing the current time.

getCurrentTimeInMs

public long getCurrentTimeInMs()
Current time in milisecods.

Returns:
current time in ms.

readFileAsString

public java.lang.String readFileAsString(java.lang.String filePath)
                                  throws java.io.IOException
Throws:
java.io.IOException

codaInfoGetObjectType

public void codaInfoGetObjectType()

codaInfoSyncGetObjectType

public java.lang.String codaInfoSyncGetObjectType(int to)

codaInfoGetState

public void codaInfoGetState()

rcClientInfoSyncGetState

public java.lang.String rcClientInfoSyncGetState(int to)

codaInfoGetStatus

public void codaInfoGetStatus()

codaInfoSyncGetStatus

public java.lang.String codaInfoSyncGetStatus(int to)

codaInfoGetCodaClass

public void codaInfoGetCodaClass()

codaInfoSyncGetCodaClass

public java.lang.String codaInfoSyncGetCodaClass(int to)

sessionControlStartReporting

public void sessionControlStartReporting()

sessionControlStopReporting

public void sessionControlStopReporting()

sessionControlExit

public void sessionControlExit()

sessionControlSetState

public void sessionControlSetState(java.lang.String s)

sessionControlSetSession

public void sessionControlSetSession(java.lang.String s)

sessionControlGetSession

public void sessionControlGetSession()

sessionControlSyncGetSession

public java.lang.String sessionControlSyncGetSession(int to)

sessionControlSetInterval

public void sessionControlSetInterval(java.lang.String s)

sessionControlConfigure

public void sessionControlConfigure(java.lang.String s)

runControlSetRunNumber

public void runControlSetRunNumber(int i)

runControlSetRunType

public void runControlSetRunType(java.lang.String s)

runControlGetRunNumber

public void runControlGetRunNumber()

runControlSyncGetRunNumber

public int runControlSyncGetRunNumber(int to)

runControlGetRunType

public void runControlGetRunType()

runControlSyncGetRunType

public java.lang.String runControlSyncGetRunType(int to)

runControlGetConfigId

public void runControlGetConfigId()