public class QASystem
extends java.lang.Object
getSystem()
.Constructor and Description |
---|
QASystem(java.lang.String systemName) |
QASystem(java.lang.String systemName,
org.opendof.core.oal.DOFSystem system) |
Modifier and Type | Method and Description |
---|---|
void |
addActivateInterestListener(org.opendof.core.oal.DOFSystem.ActivateInterestListener listener) |
void |
addStateListener(org.opendof.core.oal.DOFSystem.StateListener listener)
Adds a state listener to this object's system.
|
void |
create(org.opendof.core.oal.DOF dof,
org.opendof.core.oal.DOFSystem.Config config) |
void |
create(org.opendof.core.oal.DOF dof,
org.opendof.core.oal.DOFSystem.Config config,
int timeout) |
void |
createAsSecure(org.opendof.core.oal.DOF dof,
org.opendof.core.oal.DOFCredentials credentials,
org.opendof.core.oal.security.DOFPermissionSet perms,
int timeout)
Create this system as a secure system.
|
void |
createAsSecure(org.opendof.core.oal.DOF dof,
org.opendof.core.oal.DOFCredentials credentials,
int timeout)
Create this system as a secure system.
|
void |
createAsUnsecure(org.opendof.core.oal.DOF dof)
Create this system as an unsecure system.
|
void |
destroy()
Destroys the system represented by this object, if it exists.
|
org.opendof.core.oal.DOFSystem |
getSystem()
Returns the DOFSystem represented by this object.
|
public QASystem(java.lang.String systemName)
public QASystem(java.lang.String systemName, org.opendof.core.oal.DOFSystem system) throws java.lang.Exception
java.lang.Exception
public void create(org.opendof.core.oal.DOF dof, org.opendof.core.oal.DOFSystem.Config config, int timeout) throws org.opendof.core.oal.DOFException
org.opendof.core.oal.DOFException
public void create(org.opendof.core.oal.DOF dof, org.opendof.core.oal.DOFSystem.Config config) throws org.opendof.core.oal.DOFException
org.opendof.core.oal.DOFException
public void createAsUnsecure(org.opendof.core.oal.DOF dof) throws java.lang.Exception
dof
- The DOF necessary to create the system.java.lang.Exception
public void createAsSecure(org.opendof.core.oal.DOF dof, org.opendof.core.oal.DOFCredentials credentials, int timeout) throws java.lang.Exception
dof
- The DOF necessary to create the system.credentials
- The credentials to authenticate the system.timeout
- How long (in milliseconds) to wait for authentication.java.lang.Exception
public void createAsSecure(org.opendof.core.oal.DOF dof, org.opendof.core.oal.DOFCredentials credentials, org.opendof.core.oal.security.DOFPermissionSet perms, int timeout) throws java.lang.Exception
dof
- The DOF necessary to create the system.credentials
- The credentials to authenticate the system.perms
- The permissions to set on the system. null means none.timeout
- How long (in milliseconds) to wait for authentication.java.lang.Exception
public void addStateListener(org.opendof.core.oal.DOFSystem.StateListener listener) throws java.lang.Exception
listener
- The listener to add.java.lang.Exception
- if the connection has not been created.public void addActivateInterestListener(org.opendof.core.oal.DOFSystem.ActivateInterestListener listener)
public org.opendof.core.oal.DOFSystem getSystem()
public void destroy()