DITTCPListenConfig
@interface DITTCPListenConfig : NSObject<NSCopying, NSMutableCopying> {
@protected BOOL _enabled;
@protected NSString *_interfaceIp;
@protected uint16_t _port;
}
@property (nonatomic, readonly, getter = isEnabled) BOOL enabled;
/**
IP interface to bind to. [::] by default.
*/
@property (nonatomic, readonly) NSString *interfaceIp;
/**
Listening port. 4040 by default.
*/
@property (nonatomic, readonly) uint16_t port;
- (instancetype)initWithDITTCPListenConfig:(DITTCPListenConfig *)config;
- (instancetype)initWithEnabled:(BOOL)enabled
interfaceIp:(NSString *)interfaceIp
port:(uint16_t)port NS_DESIGNATED_INITIALIZER;
- (BOOL)isEqualToDITTCPListenConfig:(DITTCPListenConfig *)config;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
BOOL _enabled -
Undocumented
Declaration
Objective-C
NSString *_interfaceIp -
Undocumented
Declaration
Objective-C
uint16_t _port -
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, getter = isEnabled) BOOL enabled -
IP interface to bind to. [::] by default.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull interfaceIp; -
Listening port. 4040 by default.
Declaration
Objective-C
@property (nonatomic, readonly) uint16_t port; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithDITTCPListenConfig:(DITTCPListenConfig *)config; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithEnabled:(BOOL)enabled interfaceIp:(NSString *)interfaceIp port:(uint16_t)port NS_DESIGNATED_INITIALIZER; -
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToDITTCPListenConfig:(DITTCPListenConfig *)config;
DITTCPListenConfig Class Reference