public class AvalonControl
extends com.highqsoft.avalon.AvalonControlPOA
implements com.highqsoft.avalon.AvalonControl
Constructor and Description |
---|
AvalonControl(AvalonControlFactory aocfObj,
AoFactoryIF aofObj,
AoSession aosObj,
int debuglevel) |
Modifier and Type | Method and Description |
---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
void |
close()
Close the avalon control session.
|
protected com.highqsoft.avalon.DiscspaceInfo |
createDiscspaceInfo(AoSession sess,
java.lang.String symbol) |
void |
forceClose(int sessionId) |
java.lang.String[] |
get(java.lang.String variable) |
boolean |
getable(java.lang.String variable) |
java.lang.String |
getDescription(java.lang.String variable) |
com.highqsoft.avalon.DiscspaceInfo[] |
listDiscspace() |
com.highqsoft.avalon.SessionInfo[] |
listSession() |
java.lang.String[] |
listVariables() |
protected void |
loadVariables()
Load the variables from the implementation.
|
void |
requestStop() |
protected void |
resetNotUsed() |
void |
set(com.highqsoft.avalon.AvalonControlProperty variable) |
boolean |
setable(java.lang.String variable) |
protected void |
setDebugLevel(int dbgLevel)
Set the debuglevel.
|
protected void |
setSessionId()
Set the session Id of the control session.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
public AvalonControl(AvalonControlFactory aocfObj, AoFactoryIF aofObj, AoSession aosObj, int debuglevel)
protected void resetNotUsed()
public java.lang.String[] get(java.lang.String variable) throws com.highqsoft.avalon.AvalonException
get
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public java.lang.String[] listVariables() throws com.highqsoft.avalon.AvalonException
listVariables
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public java.lang.String getDescription(java.lang.String variable) throws com.highqsoft.avalon.AvalonException
getDescription
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public void set(com.highqsoft.avalon.AvalonControlProperty variable) throws com.highqsoft.avalon.AvalonException
set
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public com.highqsoft.avalon.SessionInfo[] listSession() throws com.highqsoft.avalon.AvalonException
listSession
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public void forceClose(int sessionId) throws com.highqsoft.avalon.AvalonException
forceClose
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public com.highqsoft.avalon.DiscspaceInfo[] listDiscspace() throws com.highqsoft.avalon.AvalonException
listDiscspace
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public boolean getable(java.lang.String variable) throws com.highqsoft.avalon.AvalonException
getable
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public boolean setable(java.lang.String variable) throws com.highqsoft.avalon.AvalonException
setable
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public void close() throws com.highqsoft.avalon.AvalonException
close
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
- with errorcode when the error occurs at the ods interface.public void requestStop() throws com.highqsoft.avalon.AvalonException
requestStop
in interface com.highqsoft.avalon.AvalonControlOperations
com.highqsoft.avalon.AvalonException
public boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent
in interface org.omg.CORBA.Object
public int _hash(int maximum)
_hash
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _duplicate()
_duplicate
in interface org.omg.CORBA.Object
public void _release()
_release
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _request(java.lang.String operation)
_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy
in interface org.omg.CORBA.Object
public org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
_set_policy_override
in interface org.omg.CORBA.Object
protected void setDebugLevel(int dbgLevel)
protected void setSessionId() throws AoException
AoException,
- if any occurring ASAM OSD exceptionAoException
protected void loadVariables() throws com.highqsoft.avalon.AvalonException
com.highqsoft.avalon.AvalonException
protected com.highqsoft.avalon.DiscspaceInfo createDiscspaceInfo(AoSession sess, java.lang.String symbol) throws AoException, com.highqsoft.avalon.AvalonException
AoException
com.highqsoft.avalon.AvalonException