Previous Topic Next topic Print topic


Class ECIBINPRequest

The implementation of ECIRequest for MFBINP Protocol. MFBINP is a proprietary binary protocol from Micro Focus.
java.lang.Object

extended bycom.microfocus.cics.client.ECIBINPRequest

All Implemented Interfaces

ECIRequest

Class Specifications

public class ECIBINPRequest

extends Object

implements ECIRequest

Field Summary

Constructor Summary

ECIBINPRequest()

Create an ECIBINPRequest object

ECIBINPRequest(ECIConnection connection)

Create an ECIBINPRequest object with a connection

Methods

Method Summary
void close()

Close the request

ECIConnection getConnection()

Get the connection

ECIResponse send()

Send the request to the server

ECIResponse send(String returnCommAreaEnc)

Send the request to the server

void setConnection(ECIConnection aConn)

Set the connection

void setRequestParameter (CCLParams aParm)

Set the request parameter

Methods inherited from class java.lang.Object
equals, getClass, hashCode>, notify, notifyAll, toString, wait, wait, wait

Field Detail

DEFAULT_COBOL_RETURN_CODE
public static final int DEFAULT_COBOL_RETURN_CODE
See Also:
Constant Field Values

Constructor Detail

ECIBINPRequest
public ECIBINPRequest()

Create an ECIBINPRequest object

See Also:
ConnectionType
ECIBINPRequest
public ECIBINPRequest(ECIConnection connection)
                   throws IllegalStateException

Create an ECIBINPRequest object with a connection

Throws:
IllegalStateException if the connection is not initialized
See Also:
ConnectionType

Method Detail

close
public void close()

Close the request

Specified by:
close in interface ECIRequest
getConnection
public ECIConnection getConnection()

Get the connection

Specified by:
getConnection in interface ECIRequest
Returns:
ECIConnection
send
public ECIResponse send()
                          throws CICSException,
                                 AbendException,
                                 MalformedResponseException,
                                 CommAreaSizeException,
                                 

Send the request to the server

Specified by:
send in interface ECIRequest
Returns:
ECIResponse
Throws:
send
public ECIResponse send(String returnCommAreaEncoding)
                          throws CICSException,
                                 AbendException,
                                 MalformedResponseException,
                                 ,
                                 CommAreaSizeException

Send the request to the server

Specified by:
send in interface ECIRequest
Parameters:
returnCommAreaEncoding The encoding returned by the server. For example if the server returns EBCDIC, the client needs the encoding information to create the correct CommArea.
Returns:
ECIResponse
Throws:
setConnection
public void setConnection(ECIConnection aConn)

Set the connection

Specified by:
setConnection in interface ECIRequest
Parameters:
aConn The connection for the request
setRequestParameter
public void setRequestParameter(CCLParams aParm)

Set the request parameter

Specified by:
setRequestParameter in interface ECIRequest
Previous Topic Next topic Print topic