Public Member Functions | Protected Attributes

WelcomeViewController Class Reference

The view controller to welcome the user and prompting to enter his/her name. More...

#import <WelcomeViewController.h>

Inheritance diagram for WelcomeViewController:
<PeerServerDelegate> <ConnectionDelegate>

List of all members.

Public Member Functions

(PeerServer *) - peerServer
 Will return the PeerServer object peerServer.
(void) - broadcastRequestMessage:
 Will broadcast message.

Protected Attributes

IBOutlet UITextField * input
PeerServerpeerServer
 We accept connections from other peers using an instance of the PeerServer class.
NSMutableSet * clients
 Container for all connected clients.

Detailed Description

The view controller to welcome the user and prompting to enter his/her name.


Member Function Documentation

- (void) broadcastRequestMessage: (NSDictionary*)  packet

Will broadcast message.

Parameters:
packetthe dictionary packet to be broadcasted

Will return the PeerServer object peerServer.

Returns:
PeerServer reference

Member Data Documentation

- (NSMutableSet*) clients [protected]

Container for all connected clients.

- (IBOutlet UITextField*) input [protected]
- (PeerServer *) peerServer [protected]

We accept connections from other peers using an instance of the PeerServer class.


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