Public Member Functions

<PeerServerDelegate> Protocol Reference

The delegate to handle various outcomes of peerserver. More...

#import <PeerServerDelegate.h>

Inheritance diagram for <PeerServerDelegate>:
WelcomeViewController

List of all members.

Public Member Functions

(void) - peerServerFailed:reason:
 Server has been terminated because of an error.
(void) - handleNewConnection:
 Server has accepted a new connection and it needs to be processed.

Detailed Description

The delegate to handle various outcomes of peerserver.


Member Function Documentation

- (void) handleNewConnection: (Connection *)  connection

Server has accepted a new connection and it needs to be processed.

Parameters:
connectionthe new connection object
- (void) peerServerFailed: (PeerServer *)  peerServer
reason: (NSString *)  reason 

Server has been terminated because of an error.

Parameters:
peerServerthe server which is terminated
reasonthe reason of failing of server

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