Class ECIBINPResponse

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

extended bycom.microfocus.cics.client.ECIBINPResponse

All Implemented Interfaces

ECIResponse

Class Specifications

public class ECIBINPResponse

extends Object

implements ECIResponse

Constructor Summary

ECIBINPResponse()

Create an ECIBINPResponse object

ECIBINPResponse(byte[] response, CommArea requestCommArea)

Create an ECIBINPResponse object with response received from the server

ECIBINPResponse(byte[] response, String returnCommAreaEncoding, CommArea requestCommArea)

Create an ECIBINPResponse object with response and an encoding for CommArea

Methods

Method Summary
void close()

Close the response

String getAbendCode()

Get the AbendCode

AbendCodeType getAbendCodeType()

Get the AbendCodeType

CommArea getCommArea()

Get the CommArea

int getExciResp1()

Get the ExciResp1 value

int getExciResp2 ()

Get the ExciResp2 value

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

Constructor Detail

ECIBINPResponse
public ECIBINPResponse()

Create an ECIBINPResponse object

ECIBINPResponse
public ECIBINPResponse(byte[] response, 
                      CommArea requestCommArea)                          throws CICSException,
                       throws    AbendException,
                                 MalformedResponseException,
                                 CommAreaSizeException,
                                 

Create an ECIBINPResponse object with response received from the server

Parameters:
response The response as a byte[]
Throws:
ECIBINPResponse
public ECIBINPResponse(byte[] response, 
                       String returnCommAreaEncoding, 
                       CommArea requestCommArea)                          throws CICSException,
                        throws   AbendException,
                                 MalformedResponseException,
                                 CommAreaSizeException,
                                 

Create an ECIBINPResponse object with response and an encoding for CommArea

Parameters:
response The response as a byte[]
returnCommAreaEncoding Encoding for CommArea
Throws:

Method Detail

close
public void close()

Close the response

Specified by:
close in interface ECIResponse
getAbendCode
public String getAbendCode()

Get the AbendCode

Specified by:
getAbendCode in interface ECIResponse
Returns:
abendCode
getAbendCodeType
public AbendCodeType getAbendCodeType()

Get the AbendCodeType

Specified by:
getAbendCodetype in interface ECIResponse
Returns:
abendCodetype
See Also:
AbendCodeType
getCommArea
public CommArea getCommArea()

Get the CommArea

Specified by:
getCommArea in interface ECIResponse
Returns:
commArea
See Also:
CommArea
getExciResp1
public int getExciResp1()

Get the ExciResp1 value

Specified by:
getExciResp1 in interface ECIResponse
Returns:
ExciResp1
getExciResp2
public int getExciResp2()

Get the ExciResp2 value

Specified by:
getExciResp2 in interface ECIResponse
Returns:
ExciResp2