MumbleKit
 All Classes Functions
Instance Methods | List of all members
MKServerPinger Class Reference
Inheritance diagram for MKServerPinger:

Instance Methods

(id) - initWithHostname:port:
 
(id< MKServerPingerDelegate >) - delegate
 
(void) - setDelegate:
 

Method Documentation

- (id<MKServerPingerDelegate>) delegate

Returns the currently-set delegate for the MKServerPinger object.

Returns
Returns an object implementing the MKServerPingerDelegate protocol.
- (id) initWithHostname: (NSString *)  hostname
port: (NSString *)  port 

Initialize a new MKServerPinger that pings the server running on the given hostname and port combination.

Parameters
hostnameThe hostname of the server to ping.
portThe port number of the server to ping.
Returns
Returns an MKServerPinger object. To get ping results, one must register a delegate implementing the MKServerPingerDelegate protocol.
- (void) setDelegate: (id< MKServerPingerDelegate >)  delegate

Set the delegate of the MKServerPinger object. The delegate will be called when the remote server responds to a ping request.

Parameters
delegateThe objec to register as the MKServerPinger's delegate. Must implement the MKServerPingerDelegate protocol.

The documentation for this class was generated from the following file: