UDPManager Class Reference
| Inherits from | NSObject |
| Conforms to | UDPControllerDelegate |
| Declared in | UDPManager.h UDPManager.m |
Overview
Creates and manages a UDP socket connection to the server.
This class is allocated on client startup, however it requires initialization.
Tasks
-
– initDefaultsInternal method to set defaults
-
– initializeWithHost:port:Internal method to initialize the UDPController
-
– resetInternal method to reset the UDPManager when connection is closed
-
– sendInitializationRequestInternal method to send UDP handshake to the server
-
– send:Internal method to send UDP message to the server
-
– nextUdpPacketIdReturns the next UDP packet Id
Instance Methods
initDefaults
Internal method to set defaults
- (id)initDefaultsDiscussion
Internal method to set defaults
Declared In
UDPManager.hinitializeWithHost:port:
Internal method to initialize the UDPController
- (void)initializeWithHost:(NSString *)udpHost port:(NSInteger)updPortDiscussion
Internal method to initialize the UDPController
Declared In
UDPManager.hnextUdpPacketId
Returns the next UDP packet Id
- (NSNumber *)nextUdpPacketIdReturn Value
NSNumber an incremented packet id
Discussion
Returns the next UDP packet Id
Declared In
UDPManager.hreset
Internal method to reset the UDPManager when connection is closed
- (void)resetDiscussion
Internal method to reset the UDPManager when connection is closed
Declared In
UDPManager.h