method BeepProfile.ChanOpen (Beep, ChannelID, Role)
Callback - called by the framework when there channel was opened.

  TypeDescription 
   Beep as IwodBeepCom Reference to wodBeep that called this method. 
   ChannelID as Integer Integer value that holds channel ID. 
   Role as BeepRoles Role your peer has in this channel - did it open the channel (initiator) or accept request to open it (listener). 
 

ChanOpen is a notification method you should implement in your profile. wodBeep will call this method (so it notifies your profile) that new channel that uses your profile is opened. Beep argument provided holds reference to wodBeep instance that called this method - you might need it to access other wodBeep's properties.

Depending on the role, you might want to initiate some handshake messages with remote peer at this point, or just execute some initialization code.