Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SetLineEventPort(port As Object) As Void 

Sets the message port that roStreamLineEvent events will be posted to

SetByteEventPort(port As Object) As Void

Sets the message port that roStreamByteEvent events will be posted to

SetByteArrayEventPort(port As Object) As Void

This method works like SetByteEventPort but causes roStreamByteArrayEvent messages like SetByteEventPort but causes roStreamByteArrayEvent messages to be posted to the message port when data is received. For some object types (for example, roTCPStream), this can be much more efficient since data no longer needs to be delivered to BrightScript a byte at a time, but since serial ports are comparatively slow it's possible that each event will still contain only a single character. 

...