Public Member Functions

<ConnectionDelegate> Protocol Reference

The delegated to handle connection outcomes like a connection is successfull, failed etc. More...

#import <ConnectionDelegate.h>

Inheritance diagram for <ConnectionDelegate>:
PeerListViewController WelcomeViewController

List of all members.

Public Member Functions

(void) - connectionAttemptFailed:
 This is invoked when connection attempt is failed.
(void) - connectionTerminated:
 Invoked when connection is terminated.
(void) - receivedNetworkPacket:viaConnection:
 If a packet is received from a connection, this method is invoked.

Detailed Description

The delegated to handle connection outcomes like a connection is successfull, failed etc.


Member Function Documentation

- (void) connectionAttemptFailed: (Connection *)  connection

This is invoked when connection attempt is failed.

Parameters:
connectionthe connection object which is failed
- (void) connectionTerminated: (Connection *)  connection

Invoked when connection is terminated.

Parameters:
connectionThe connection which is terminated.
- (void) receivedNetworkPacket: (NSDictionary *)  message
viaConnection: (Connection *)  connection 

If a packet is received from a connection, this method is invoked.

Parameters:
messagethe message which is received
connectionthe connection from which this message/packet is received

The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Properties