|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This type was created in VisualAge.
Method Summary | |
void |
connect(com.ibm.as400.access.AS400 obj)
Connect to the AS/400 using the specified AS/400 Toolbox object. |
void |
disconnectFrom400()
Disconnect from current AS/400 connection. |
String |
getCompletionMsg()
Get the completion message after the program has run. |
com.ibm.as400.access.AS400Message[] |
getMessageList()
Get the array of AS400Message objects |
boolean |
isConnected()
Returns the state of the connection to the AS/400. |
boolean |
runProgram()
Run the AS/400 program RDNSETLIBL. |
void |
setAS400(com.ibm.as400.access.AS400 system)
Set the AS400 to used for this program call. |
Method Detail |
public void connect(com.ibm.as400.access.AS400 obj) throws com.ibm.as400.access.AS400SecurityException, IOException, com.ibm.as400.access.ServerStartupException, UnknownHostException, IllegalArgumentException
com.ibm.as400.access.AS400SecurityException
- If security error occurs during connect.
IOException
- If IO error occurs during connect.
com.ibm.as400.access.ServerStartupException
- If unable to connect to the well known port.
UnknownHostException
- If unable to locate AS/400.
IllegalArgumentException
- If service is incorrect.public void disconnectFrom400()
public String getCompletionMsg()
public com.ibm.as400.access.AS400Message[] getMessageList()
public boolean isConnected()
public boolean runProgram() throws com.ibm.as400.access.AS400SecurityException, com.ibm.as400.access.ConnectionDroppedException, com.ibm.as400.access.ErrorCompletingRequestException, InterruptedException, IOException, PropertyVetoException, com.ibm.as400.access.ObjectDoesNotExistException
com.ibm.as400.access.AS400SecurityException
- If security violation occurs during connection.
com.ibm.as400.access.ConnectionDroppedException
- If the AS/400 connection is inactive.
com.ibm.as400.access.ErrorCompletingRequestException
- If an error occurred on the host
InterruptedException
- If this thread is interrupted.
IOException
- If an I/O error occurs.
PropertyVetoException
- If program or parameter list is set to an invalid value.
com.ibm.as400.access.ObjectDoesNotExistException
- If program does not exist.public void setAS400(com.ibm.as400.access.AS400 system)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |