The view controller to welcome the user and prompting to enter his/her name. More...
#import <WelcomeViewController.h>
Public Member Functions | |
(PeerServer *) | - peerServer |
Will return the PeerServer object peerServer. | |
(void) | - broadcastRequestMessage: |
Will broadcast message. | |
Protected Attributes | |
IBOutlet UITextField * | input |
PeerServer * | peerServer |
We accept connections from other peers using an instance of the PeerServer class. | |
NSMutableSet * | clients |
Container for all connected clients. |
The view controller to welcome the user and prompting to enter his/her name.
- (void) broadcastRequestMessage: | (NSDictionary*) | packet |
Will broadcast message.
packet | the dictionary packet to be broadcasted |
- (PeerServer *) peerServer |
Will return the PeerServer object peerServer.
- (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.