20 #import "OFBindSocketFailedException.h"
22 OF_ASSUME_NONNULL_BEGIN
31 OF_SUBCLASSING_RESTRICTED
35 uint8_t _node, _port, _protocolType;
41 @property (readonly, nonatomic) uint16_t network;
46 @property (readonly, nonatomic) uint8_t node;
51 @property (readonly, nonatomic) uint8_t port;
56 @property (readonly, nonatomic) uint8_t protocolType;
69 + (instancetype)exceptionWithNetwork: (uint16_t)network
72 protocolType: (uint8_t)protocolType
76 + (instancetype)exceptionWithSocket: (
id)socket
77 errNo: (
int)errNo OF_UNAVAILABLE;
90 - (instancetype)initWithNetwork: (uint16_t)network
93 protocolType: (uint8_t)protocolType
95 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
97 - (instancetype)initWithSocket: (
id)socket errNo: (
int)errNo OF_UNAVAILABLE;
100 OF_ASSUME_NONNULL_END
An exception indicating that binding a DDP socket failed.
Definition: OFBindDDPSocketFailedException.h:33
An exception indicating that binding a socket failed.
Definition: OFBindSocketFailedException.h:37