Previous Topic Next topic Print topic


Interface ECIRequest

The interface for performing requests from the server.

All Known Implementing Classes

ECIBINPRequest

Class Specifications

public interface ECIRequest

See Also:

ECIBINPRequest

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

Method Detail

close
public void close()

Close the request

getConnection
public ECIConnection getConnection()

Get the connection

Returns:
ECIConnection
send
public ECIResponse send()
                          throws CICSException,
                                 AbendException,
                                 MalformedResponseException,
                                 
                                 CommAreaSizeException

Send the request to the server

Returns:
ECIResponse
Throws:
send
public ECIResponse send(String returnCommAreaEncoding)
                          throws CICSException,
                                 AbendException,
                                 MalformedResponseException,
                                 ,
                                 CommAreaSizeException
                                 IllegalStateException

Send the request to the server

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 connection)

Set the connection

Parameters:
connection The connection for the request
setRequestParameter
public void setRequestParameter(CCLParams aParm)
                   throws IllegalStateException

Set the request parameter

Throws:
IllegalStateException if parameters are incorrect
Previous Topic Next topic Print topic