20 #import "OFBindSocketFailedException.h" 22 OF_ASSUME_NONNULL_BEGIN
30 OF_SUBCLASSING_RESTRICTED
34 uint8_t _node, _port, _protocolType;
40 @property (readonly, nonatomic) uint16_t network;
45 @property (readonly, nonatomic) uint8_t node;
50 @property (readonly, nonatomic) uint8_t port;
55 @property (readonly, nonatomic) uint8_t protocolType;
68 + (instancetype)exceptionWithNetwork: (uint16_t)network
71 protocolType: (uint8_t)protocolType
75 + (instancetype)exceptionWithSocket: (
id)socket
76 errNo: (
int)errNo OF_UNAVAILABLE;
89 - (instancetype)initWithNetwork: (uint16_t)network
92 protocolType: (uint8_t)protocolType
94 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
96 - (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that binding a socket failed.
Definition: OFBindSocketFailedException.h:36
An exception indicating that binding a DDP socket failed.
Definition: OFBindDDPSocketFailedException.h:31