Specifications

COM+ reference
58
Glink: API reference manual Gallagher & Robertson
See also:
messageModeReceive(),messageModeReceiveSync(int maxlen),
messageModeBufferOverwrite(boolean), emulate(String)
messageModeReceive
String messageModeReceive()
This method returns the string of characters received from the host since the last
time this method was called. Glink must be in message mode operation for this
call to return any data.
Returns:
The string of character received or null if no data is available
See also:
messageModeReceiveBytes(), messageModeReceiveBytesSync(),
messageModeReceiveSync(), messageModeBufferOverwrite(boolean),
emulate(String)GlinkEvent_MESSAGE_MODE_DATA, emulate(String)
messageModeReceiveBytes
byte[ ] messageModeReceiveBytes()
This method returns the byte array received from the host since the last time this
method or messageModeReceive() was called. Glink must be in message mode
operation for this call to return any data. The returned byte array is always in the
host native character set.
Returns:
an array of bytes received from the host, or null if no data available
See also:
messageModeReceive() ,messageModeReceiveBytesSync(),
messageModeReceiveSync(), messageModeBufferOverwrite(boolean),
emulate(String)GlinkEvent_MESSAGE_MODE_DATA, emulate(String)
messageModeReceiveBytesSync
byte[ ] messageModeReceiveBytesSync(int maxlen)
This method waits until the requested number of characters has been received
from the host before it returns the byte array of characters received, in the host
native character set.