|
| Type | Description | ||
| Profile as IBeepProfile | Reference to profile that will be used in the channel. |
|
| Return | Description | ||
| Integer | Return value. Integer value as ID of new channel. |
Open method will initiate opening of new channel based on supplied Profile. After this method is called, you should NOT try to use this channel immediately. Beep protocol specification defines that first request must be sent to other peer about channel opening. At this point, remote peer will receive ChannelOpenRequest event where he must decide if it will allow channel to be opened or not. After channel is opened successfully, ChannelOpen event will be fired on both sides, and you can start exchanging messages. If you wish to offer more than one profile for the channel, you can use OpenAny method instead.
|