|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microfocus.cobol.connector.cci.CobolInteraction
This implementation class enables a component to execute Cobol Server functions.
Field Summary | |
protected Connection |
connection
|
protected com.microfocus.cobol.connector.logging.RALogger |
log
|
Constructor Summary | |
CobolInteraction(Connection con)
Constrcut a Cobol Interaction instance |
Method Summary | |
void |
clearWarnings()
Clear all warnings with the Cobol Server. |
void |
close()
close the interaction. |
Record |
execute(InteractionSpec iSpec,
Record input)
Execute a Cobol Server function specified in the interaction spec. |
boolean |
execute(InteractionSpec iSpec,
Record input,
Record output)
Execute a Cobol Server function specified in the interaction spec. |
Connection |
getConnection()
Get the CobolConnection handle associated with this Cobol Interaction instance. |
ResourceWarning |
getWarnings()
Get Warnings from the Cobol Server |
protected void |
prepareFromCobCall(com.microfocus.cobol.lang.ParameterList outputList,
Record out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Connection connection
protected transient com.microfocus.cobol.connector.logging.RALogger log
Constructor Detail |
public CobolInteraction(Connection con)
con
- The CobolConnection handleCobolConnection
Method Detail |
public Connection getConnection()
getConnection
in interface Interaction
public void close() throws ResourceException
close
in interface Interaction
ResourceException
public Record execute(InteractionSpec iSpec, Record input) throws ResourceException
execute
in interface Interaction
iSpec
- The CobolInteractionSpecinput
- The input record to the interaction
ResourceException
public boolean execute(InteractionSpec iSpec, Record input, Record output) throws ResourceException
execute
in interface Interaction
iSpec
- The InteractionSpecinput
- The input record for the interactionoutput
- The output recod for the interaction
ResourceException
public ResourceWarning getWarnings() throws ResourceException
getWarnings
in interface Interaction
ResourceException
public void clearWarnings() throws ResourceException
clearWarnings
in interface Interaction
ResourceException
protected void prepareFromCobCall(com.microfocus.cobol.lang.ParameterList outputList, Record out) throws ResourceException
ResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.