|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.technical.as400.AS400FileBase net.sf.xbus.technical.as400.AS400FileReceiver net.sf.xbus.technical.as400.AS400LineReaderReceiver
public class AS400LineReaderReceiver
AS400LineReaderReceiver
receives data from a AS400 file but
instead of reading them in passing the data itself through the xBus it only
opens the file and passes a refernce to it to the application layer. The data
will be read by a sender record by record. This is done with the help of the
AS400LineReader
class. Exactly an object
of this class is passed through the xBus. A respective sender access it in
terms of the operations declared in the
LineReader
interface. This way of data
transport is suitable for large interface files with data which does not need
any transformation.
Field Summary |
---|
Fields inherited from class net.sf.xbus.technical.as400.AS400FileReceiver |
---|
mAS400System, mEncoding, mOriginFile, mQSYSObject |
Fields inherited from class net.sf.xbus.technical.as400.AS400FileBase |
---|
mConverter |
Constructor Summary | |
---|---|
AS400LineReaderReceiver()
|
Method Summary | |
---|---|
protected java.lang.Object |
getRequestContent()
Opens the interface file on the AS400 and returns an AS400LineReader object as reference
to the opened file. |
java.lang.String |
getType()
A Receiver can receive data either as a
String or as an Object from a neighboring
system. |
Methods inherited from class net.sf.xbus.technical.as400.AS400FileReceiver |
---|
close, commit, doReceive, getOnError, getResolution, open, readConfiguration, receive, rollback, setAS400System |
Methods inherited from class net.sf.xbus.technical.as400.AS400FileBase |
---|
callAS400Program, copyFile, deleteFile, deleteMember, getEncoding, getRenamedMember, releaseLock, renameFile, setLock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.xbus.technical.ReceiverSingleInterface |
---|
receive |
Constructor Detail |
---|
public AS400LineReaderReceiver()
Method Detail |
---|
protected java.lang.Object getRequestContent() throws XException
AS400LineReader
object as reference
to the opened file. Object attributes should have been initialized by
reading them from the configuration.
getRequestContent
in class AS400FileReceiver
XException
- if something goes wrongpublic java.lang.String getType()
Receiver
Receiver
can receive data either as a
String
or as an Object
from a neighboring
system.Strings
, getType
returns Constants.TYPE_TEXT
Objects
, getType
returns Constants.TYPE_OBJECT
getType
in interface Receiver
getType
in class AS400FileReceiver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |