NanoCDNReceiver
@protocol NanoCDNReceiver <NSObject>
nanoCDN receiver interface
-
On nanoCDN found
Declaration
Objective-C
- (void)onNanoCDNFound:(NSString *)jsonAccountId nanoCDNHost:(NSString *)nanoCDNHost;Parameters
jsonAccountIdjson with account id
nanoCDNHostnanoCDN hostname/ip
-
On nanoCDN not found after the resolving timeout Update options TIMEOUT_NANO_CDN_STATIC_RESOLVING (static resolving) or TIMEOUT_NANO_CDN_DISCOVER_RESOLVING (mDNS resolving) if needed
Declaration
Objective-C
- (void)onNanoCDNNotFound:(NSString *)nanoCDNHost;Parameters
nanoCDNHostnanoCDN hostname/ip
-
On nanoCDN lost If restartNanoCDNResolving is called, all connected nanoCDN will trigger onNanoCDNLost
Declaration
Objective-C
- (void)onNanoCDNLost:(NSString *)nanoCDNHost;Parameters
nanoCDNHostnanoCDN hostname/ip
Install in Dash
NanoCDNReceiver Protocol Reference