Rostreamconnectresultevent – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 236

Advertising
background image

228

roStreamConnectResultEvent

This event is sent to a message port associated with an

roTCPStream

object when an

AsyncConnectTo() request has

been completed or has failed.

Interfaces:

ifInt

,

ifUserData


The ifInt interface provides the following:

GetInt() As Integer: Returns the result code of the event. If the connection was successfully established,
then this method will return 0. If connection failed for any reason, this method will return a non-zero integer.

SetInt(a As Integer)


The ifUserData interface provides the following:

SetUserData(user_data As Object): Sets the user data that will be returned when events are raised.

GetUserData() As Object: Returns the user data that has previously been set via SetUserData(). It will
return Invalid if no data has been set.

Advertising