This class emulates the handshaking behavior of Windows NT Telnet.exe. More...
Public Member Functions | |
_.Library.String | ReadLine (_.Library.Integer pMaxReadLen, _.Library.Numeric pTimeout, _.Library.Status pSC, _.Library.String pLineTerminator) |
Read until pMaxReadLen chars are gotten, pTimeout expires, or a LineTerminator character is found. More... | |
WriteLine (_.Library.String pLine, _.Library.Boolean pFlush, _.Library.Status pSC) | |
In in 3270(e) mode, writes out a record with header and terminator (IAC-EOR) More... | |
![]() | |
_.Library.Integer | CopyFrom (_.IO.I.Stream pSource, _.Library.Numeric pTimeout, _.Library.Boolean pFlush, _.Library.Status pSC) |
Copy all available data from pSource to the current stream buffer. More... | |
_.Library.Integer | CopyReplace (_.IO.I.Stream pDest, _.Library.Integer pMaxReadLen, _.Library.Numeric pTimeout, _.Library.Numeric pIdleTimeout, _.Library.String pPrevBuf, _.Library.Boolean pFlush, _.Library.Boolean pInsensitive, _.Library.String pRewind, _.Library.Status pSC, pSearchReplace) |
Replace from the current stream the strings contained in a list of alternating search and replace target string arguments. More... | |
_.Library.Integer | CopyReplaceArray (_.IO.I.Stream pDest, _.Library.Integer pMaxReadLen, _.Library.Numeric pTimeout, _.Library.Numeric pIdleTimeout, _.Library.String pPrevBuf, _.Library.Boolean pFlush, _.Library.Boolean pInsensitive, _.Library.String pRewind, _.Library.Status pSC, pSearchReplace) |
Replace from the current stream the strings contained in an array of alternating search and replace target string values called pSearchReplace. More... | |
Flush (_.Library.Status pSC) | |
Ensure that any data already written to the stream buffer are actually sent to the stream. | |
_.Library.Integer | OutputToDevice (_.Library.Integer pLength, _.Library.Numeric pTimeout, _.Library.Status pSC) |
Copy all available data from the current stream to the current system device. | |
_.Library.String | ReadUntil (_.Library.Integer pMaxReadLen, _.Library.Numeric pTimeout, _.Library.Numeric pIdleTimeout, _.Library.String pPrevBuf, _.Library.Boolean pInsensitive, _.Library.Integer pWhich, _.Library.Status pSC, pTarget) |
Read until one of the Target strings is found or a timeout occurs. More... | |
_.Library.String | ReadUntilArray (_.Library.Integer pMaxReadLen, _.Library.Numeric pTimeout, _.Library.Numeric pIdleTimeout, _.Library.String pPrevBuf, _.Library.Boolean pInsensitive, _.Library.Integer pWhich, _.Library.Status pSC, pTargets) |
Read until one of the Target strings is found or a timeout occurs. More... | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
_.Library.Boolean | IsCharacterGet () |
(This property is overridden from IO.I.Stream but has a different meaning in this context of character IO.) | |
Public Attributes | |
AWSHeight | |
More... | |
AWSWidth | |
More... | |
Curr3270Header | |
Current Header block for 3270E data. More... | |
NoReacknowledgements | |
If this is set, don't re-acknowledge options we have already acknowledged once. More... | |
ResponseID | |
integer for response count in 3270E header response mode More... | |
TermTypes | |
List of terminal types to claim to support, semicolon separated. More... | |
TranslationTable | |
Name of the translation table to use for importing and exporting character text. More... | |
![]() | |
AtEnd | |
More... | |
DefaultFlushOnWrite | |
InputStream interface. More... | |
IsCharacter | |
More... | |
IsOpen | |
More... | |
Name | |
More... | |
![]() | |
CharEncoding | |
Info-only description of the character encoding that this byte stream represents, if it. More... | |
![]() | |
CharEncoding | |
Names the character encoding used to encode this character stream in its storage or transport format. More... | |
![]() | |
LineTerminator | |
A string of characters that will be written at the end of each WriteLine operation, and any of which will terminate a ReadLine() operation if it is encountered. More... | |
![]() | |
ExternalBytePosition | |
More... | |
ExternalByteSize | |
More... | |
![]() | |
Position | |
More... | |
Size | |
More... | |
![]() | |
StreamIn | |
Read from another stream whenever there's a Read. More... | |
StreamsCopyInput | |
Write to other streams whenever there's a Read. More... | |
StreamsOutput | |
Write to other streams whenever there's a Write. More... | |
WriteToStreamIn | |
More... | |
Private Attributes | |
__AcksSent | |
record of responses so that we can support NoReacknowledgements option More... | |
__Op | |
Current option. More... | |
__OptNames | |
More... | |
__OptTable | |
More... | |
__Options | |
Private Properties. More... | |
__SBOp | |
Current subnegotiation option string. More... | |
__State | |
More... | |
__iOpt | |
Index of current option request from host. More... | |
__iTermType | |
More... | |
Additional Inherited Members | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
This class emulates the handshaking behavior of Windows NT Telnet.exe.
_.Library.String ReadLine | ( | _.Library.Integer | pMaxReadLen, |
_.Library.Numeric | pTimeout, | ||
_.Library.Status | pSC, | ||
_.Library.String | pLineTerminator | ||
) |
Read until pMaxReadLen chars are gotten, pTimeout expires, or a LineTerminator character is found.
On return, if pTimeout=0 it means no timeout occurred. If pTimeout=0 and the returned string contains the full pMaxReadLen characters, it means no LineTerminator was encountered yet, even if the following character would be a LineTerminator. If pTimeout=0 and the returned string is shorter than pMaxReadLen, then either a LineTerminator or the End Of Stream (AtEnd = 1) was encountered. If pLineTerminator is defined, then the line is read until one of the given characters is encountered. On return, pLineTerminator contains the encountered character(s) if any.
Reimplemented from MetaCharacterStream.
WriteLine | ( | _.Library.String | pLine, |
_.Library.Boolean | pFlush, | ||
_.Library.Status | pSC | ||
) |
In in 3270(e) mode, writes out a record with header and terminator (IAC-EOR)
Otherwise, writes out the line followed by the standard ..LineTerminator character(s)
Reimplemented from LineIO.
AWSHeight |
AWSWidth |
|
private |
record of responses so that we can support NoReacknowledgements option
Curr3270Header |
Current Header block for 3270E data.
NoReacknowledgements |
If this is set, don't re-acknowledge options we have already acknowledged once.
|
private |
Current option.
|
private |
|
private |
|
private |
Private Properties.
ResponseID |
integer for response count in 3270E header response mode
|
private |
Current subnegotiation option string.
|
private |
TermTypes |
List of terminal types to claim to support, semicolon separated.
TranslationTable |
Name of the translation table to use for importing and exporting character text.
See Translation Tables.
|
private |
Index of current option request from host.
|
private |