Specifications

COM+ reference
60
Glink: API reference manual Gallagher & Robertson
Returns:
The string of character received or null if no data is available
See also:
messageModeReceive(),messageModeReceiveBytes(),
messageModeReceiveBytesSync(), messageModeBufferOverwrite(boolean),
emulate(String)GlinkEvent_MESSAGE_MODE_DATA, messageModeOn(int,
boolean),isTurnKnown(), isTurnReceived()
messageModeSend
void messageModeSend(String s, boolean passTurn)
This method bypasses the Glink emulation and sends the string directly to the
host. Several strings of data may be sent without giving up the turn. The
passTurn flag is used to signal that this is the end of the data and that the turn
should be passed to the host side.
The data is assumed to be an ASCII/UNICODE string. It is translated to the host
native character set before transmission.
Turn-issues:
Please note that the concept of turn is only well defined for the following
communications protocols:
G&R Ggate
G&R DGA
Bull GTEA
TNVIP
TN3270
TN5250
For other communications protocols (such as Telnet, raw TCP/IP and Minitel)
the passTurn argument is ignored. In these cases you may have to add a go-
ahead indicator to your data if you want to pass the turn to the host, such as ETX
(0x03) or Carriage Return (0x0D).
Parameters:
s - String of characters to sent to the host.
passTurn - Send the data to the host with the turn.