Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 246

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 245
238
roTCPStream
Interfaces: ifStreamReceive, ifUserData, ifStreamSend, ifTCPStream
The ifStreamReceive interface provides the following:
SetLineEventPort(a As Object)
SetByteEventPort(a As Object)
SetReceiveEol(a As String)
SetMatcher(matcher As Object) As Boolean: Instructs the stream to use the specified matcher. This
object returns True if successful. Pass Invalid to this method to stop using the specified matcher.
The ifUserData interface provides the following:
SetUserData(a As Object): Supplies an object that will be provided by every event called by an
roTCPStream instance.
GetUserData() As Object
The ifStreamSend interface provides the following:
SetSendEol(eol_sequence As String) As Void: Sets the EOL sequence when writing to the stream.
SendByte(byte As Integer) As Void: Writes the specified byte to the stream.
SendLine(string As String) As Void: Writes the specified characters to the stream followed by the
current EOL sequence.
SendBlock(a As Dynamic) As Void: Writes the specified characters to the stream. This method can support
either a string or an roByteArray. If the block is a string, any null bytes will terminate the block.
Flush()
The ifTCPStream interface provides the following:
Przeglądanie stron 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag