EAEDiscoveringDelegate

Objective-C

@protocol EAEDiscoveringDelegate <NSObject>

/**
 *  Method which notifies the delegate that a service was found.
 *
 *  @param ipAddress The service ip address
 *  @param version   The service version
 */
- (void) serviceWasFoundAt: (NSString *) ipAddress withVersion: (NSString *) version;

/**
 *  Method which notifies the delegate that the discovery has failed
 */
- (void) serviceDiscoveryHasFailed;
- (void) serviceDiscoveryHasReachedTimeout;

@end

Swift

protocol EAEDiscoveringDelegate : NSObjectProtocol

Undocumented

  • Method which notifies the delegate that a service was found.

    Declaration

    Objective-C

    - (void)serviceWasFoundAt:(NSString *)ipAddress withVersion:(NSString *)version;

    Swift

    func serviceWasFound(at ipAddress: String!, withVersion version: String!)

    Parameters

    ipAddress

    The service ip address

    version

    The service version

  • Method which notifies the delegate that the discovery has failed

    Declaration

    Objective-C

    - (void)serviceDiscoveryHasFailed;

    Swift

    func serviceDiscoveryHasFailed()
  • Undocumented

    Declaration

    Objective-C

    - (void) serviceDiscoveryHasReachedTimeout;

    Swift

    func serviceDiscoveryHasReachedTimeout()