com.microfocus.cobol.connector.cci.CobolInteractionSpec
public class CobolInteractionSpec
extends Object
implements InteractionSpec, Serializable
See Also:
Field Summary | |
---|---|
protected int | argumentCount |
protected Vector | arguments |
protected int | authenticationMechanism |
static int | CALLER_PRINCIPAL |
protected Principal | callerPrincipal |
protected PropertyChangeSupport | changes |
protected int | executionTimeout |
protected String | functionName |
protected int | interactionVerb |
protected String | password |
protected String | realm |
protected int | returnCode |
static int | UNINITIALIZED |
protected Vector | usages |
static int | USE_USERPWD |
protected String | userName |
Fields inherited from interface javax.resource.cci.InteractionSpec |
---|
SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE |
Method Summary | |
---|---|
void | addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener. |
Object | getArgument(int index)
Get an argument. |
int | getArgumentCount()
Get argument count. |
int | getAuthenticationMechanism()
Get authentication mechanism. |
Principal | getCallerPrincipal() |
int | getExecutionTimeout()
Get Execution timeout. |
String | getFunctionName()
Get the function name to be executed. |
int | getInteractionVerb()
Get the interaction verb |
CobolInteractionSpecMetaData | getMetaData()
Get CobolInteractionSpecMetaData. |
String | getPassword()
Get password. |
String | getRealm()
Get realm. |
int | getReturnCode()
Get return code. |
int | getUsage(int index)
Get a usage. |
String | getUserName()
Get user name. |
void | removePropertyChangeListener(PropertyChangeListener 1)
Remove a property change listener. |
void | setArgument(int index, int usage)
Set an argument to be held in an interaction spec. |
void | setArgument(int index,
Object obj)
Set an argument to be held in an interaction spec. |
void | setArgument(int index,
Object obj, int usage)
Set an argument to be held in an interaction spec. |
void | setArgumentCount(int argumentCount)
Set argument count. |
void | setAuthenticationMechanism(int am)
set authentication mechanism |
void | setCallerPrincipal(Principal principal)
Set caller principal. |
void | setFunctionName(String functionName)
Set the function name to be executed. |
void | setPassword(String password)
Set password. |
void | setRealm(String realm)
Set realm. |
void | setReturnCode(int returnCode)
Set return code. |
void | setUserName(
String userName)
Set user name. |
protected String functionName
protected int interactionVerb
protected int executionTimeout
protected int returnCode
protected int argumentCount
protected Vector arguments
protected Vector usages
protected String userName
protected String password
protected String realm
protected int authenticationMechanism
protected PropertyChangeSupport changes
protected Principal callerPrincipal
public static final int USE_USERPWD
See Also:
public static final int UNINITIALIZED
See Also:
public static final int CALLER_PRINCIPAL
See Also:
public CobolInteractionSpec()
Construct a new CobolInteractionSpec instance.
public String getFunctionName()
Get the function name to be executed.
public void setFunctionName(String functionName)
Set the function name to be executed.
functionName | The function name. |
public int getInteractionVerb()
Get the interaction verb.
public int getExecutionTimeout()
Get the execution timeout.
public void setReturnCode(int returnCode)
Set the return code.
returnCode | The return code from COBOL Server. |
public int getReturnCode()
Get the return code.
public void setArgument(int, index Object obj)
Set an argument to be held in an interaction spec.
index | The argument index. |
obj | The actual object. |
public void setArgument(int, index Object obj int usage)
Set an argument to be held in an interaction spec.
index | The argument index. |
obj | The actual object. |
usage | The usage for the argument. |
public void setArgument(int, index int usage)
Set an argument to be held in an interaction spec.
index | The argument index. |
usage | The usage for the argument. |
public Object getArgument(int, index)
Get an argument.
index | The argument index. |
public int getUsage(int, index)
Get a usage.
index | The argument index. |
public int getArgumentCount()
Get the argument count.
public void setArgumentCount(int argumentCount)
Set the argument count.
argumentCount | The argument count. |
public void setUserName(String userName)
Set the user name.
userName | The user name. |
public void setPassword(String password)
Set the password.
password | The password. |
public void setRealm(String realm)
Set the realm.
realm | The realm. |
public String getUserName()
Get the user name.
public String getPassword()
Get the password.
public String getRealm()
Get the realm.
public int getAuthenticationMechanism()
Get the authentication mechanism.
public void setAuthenticationMechanism(int am)
Set the authentication mechanism.
am | The authentication mechanism. UNINITIALIZED USE_USERPWD CALLER_PRINCIPAL |
public void addPropertyChangeListener(PropertyChangeListener 1)
Add a property change listener.
1 | The listener instance. |
public void removePropertyChangeListener(PropertyChangeListener 1)
Remove a property change listener.
1 | The listener instance. |
public CobolInteractionSpecMetaData getMetaData()
Get CobolInteractionSpecMetaData.
public void setCallerPrincipal(Principal principal)
Set caller principal.
public void getCallerPrincipal(Principal principal)
Get caller principal.