16 #import "OFBindSocketFailedException.h"
18 OF_ASSUME_NONNULL_BEGIN
27 OF_SUBCLASSING_RESTRICTED
31 uint8_t _node, _port, _protocolType;
37 @property (readonly, nonatomic) uint16_t network;
42 @property (readonly, nonatomic) uint8_t node;
47 @property (readonly, nonatomic) uint8_t port;
52 @property (readonly, nonatomic) uint8_t protocolType;
65 + (instancetype)exceptionWithNetwork: (uint16_t)network
68 protocolType: (uint8_t)protocolType
72 + (instancetype)exceptionWithSocket: (
id)socket
73 errNo: (
int)errNo OF_UNAVAILABLE;
86 - (instancetype)initWithNetwork: (uint16_t)network
89 protocolType: (uint8_t)protocolType
91 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
93 - (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that binding a DDP socket failed.
Definition: OFBindDDPSocketFailedException.h:29
An exception indicating that binding a socket failed.
Definition: OFBindSocketFailedException.h:33