com.ibm.vap.cciadapter
Class VapRecord

com.ibm.vap.cciadapter.VapRecord
Direct Known Subclasses:
IMSVapRecord

public class VapRecord

Class used for input an output stream to communicate with the server.

Since:
2.5v11

Constructor Summary
VapRecord(CCIAdapter cciAdapter)
           
VapRecord(int length, CCIAdapter cciAdapter)
           
 
Method Summary
 java.lang.Object clone()
          getRecordName method comment.
 int getBufferLength()
          Retrieves the length of the buffer attribut.
 void getMessage(char[] mess, int offset, int length)
          This method is use to retrieve in the given parameter char array the message stored inthe byte array buffer
 java.lang.String getRecordName()
          We do not need to implement the method.
 java.lang.String getRecordShortDescription()
          We do not need to implement the method.
 void read(java.io.InputStream arg1)
          Reads the InputStream in the buffer array.
 void setMessage(char[] mess, int offset, int length)
          Transfer the input message in the buffer array.
 void setRecordName(java.lang.String arg1)
          We do not need to implement the method.
 void setRecordShortDescription(java.lang.String arg1)
          We do not need to implement the method.
 void write(java.io.OutputStream arg1)
          Writes the OutputStream in the buffer array.
 

Constructor Detail

VapRecord

public VapRecord(int length,
                 CCIAdapter cciAdapter)

VapRecord

public VapRecord(CCIAdapter cciAdapter)
Method Detail

clone

public java.lang.Object clone()
getRecordName method comment.

getBufferLength

public int getBufferLength()
                    throws java.io.IOException
Retrieves the length of the buffer attribut.
Returns:
the buffer length

getMessage

public void getMessage(char[] mess,
                       int offset,
                       int length)
                throws java.io.IOException
This method is use to retrieve in the given parameter char array the message stored inthe byte array buffer
Parameters:
mess - is the char array in which transfer the buffer
offset - defines the starting byte to retrieve
length - to retrieve

getRecordName

public java.lang.String getRecordName()
We do not need to implement the method.

getRecordShortDescription

public java.lang.String getRecordShortDescription()
We do not need to implement the method.

read

public void read(java.io.InputStream arg1)
          throws java.io.IOException
Reads the InputStream in the buffer array.
Parameters:
arg1 - InputStream to read in the buffer array

setMessage

public void setMessage(char[] mess,
                       int offset,
                       int length)
                throws java.io.IOException
Transfer the input message in the buffer array.
Parameters:
mess - to be transfered in the byte array
offset - defines the starting position
length - of the message to transfer

setRecordName

public void setRecordName(java.lang.String arg1)
We do not need to implement the method.

setRecordShortDescription

public void setRecordShortDescription(java.lang.String arg1)
We do not need to implement the method.

write

public void write(java.io.OutputStream arg1)
           throws java.io.IOException
Writes the OutputStream in the buffer array.
Parameters:
arg1 - OutputStream to write to the buffer array


Licensed Materials - Property of IBM - 5655-F37 - (C) Copyright IBM Corp. 1983, 2003. All Rights Reserved.
IBM, VisualAge and Pacbase are trademarks of International Business Machines Corporation registered in the United States, other countries, or both.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States,other countries, or both.
Other company, product or service names may be the trademarks or service marks of others.