|
| Type | Description | ||
| PeerInfo as IDispatch FAR* | Reference to some object. |
Connected notification is fired by the transport when it has successfully connected with remote peer. PeerInfo object provided as argument holds reference to some object that holds various information about the connection. Since wodBeep interface declarations does not specify what kind of object this is - we leave it up to you to decide what to put here. For example, if you implement your own TCP transport, you can create your own object that has some properties about TCP connection, such as Hostname, Port, Time of connection etc.. When connection is established, you could create instance of that object, fill up information, and provide it through PeerInfo. Application MUST know what kind of object PeerInfo is - and just read information you provided.
|