27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* @class OFConnectionFailedException \
* OFConnectionFailedException.h ObjFW/OFConnectionFailedException.h
*
* @brief An exception indicating that a connection could not be established.
*/
@interface OFConnectionFailedException: OFException
{
OFString *_host;
uint16_t _port;
unsigned char _node[IPX_NODE_LEN];
uint32_t _network;
OFString *_Nullable _path;
id _socket;
int _errNo;
}
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* @class OFConnectionFailedException \
* OFConnectionFailedException.h ObjFW/OFConnectionFailedException.h
*
* @brief An exception indicating that a connection could not be established.
*/
@interface OFConnectionFailedException: OFException
{
OFString *_Nullable _host;
uint16_t _port;
unsigned char _node[IPX_NODE_LEN];
uint32_t _network;
OFString *_Nullable _path;
id _socket;
int _errNo;
}
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
*
* @param host The host to which the connection failed
* @param port The port on the host to which the connection failed
* @param socket The socket which could not connect
* @param errNo The errno of the error that occurred
* @return A new, autoreleased connection failed exception
*/
+ (instancetype)exceptionWithHost: (nullable OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo;
/**
* @brief Creates a new, autoreleased connection failed exception.
*
|
|
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
*
* @param host The host to which the connection failed
* @param port The port on the host to which the connection failed
* @param socket The socket which could not connect
* @param errNo The errno of the error that occurred
* @return A new, autoreleased connection failed exception
*/
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo;
/**
* @brief Creates a new, autoreleased connection failed exception.
*
|
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
*
* @param host The host to which the connection failed
* @param port The port on the host to which the connection failed
* @param socket The socket which could not connect
* @param errNo The errno of the error that occurred
* @return An initialized connection failed exception
*/
- (instancetype)initWithHost: (nullable OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo;
/**
* @brief Initializes an already allocated connection failed exception.
*
|
|
|
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
*
* @param host The host to which the connection failed
* @param port The port on the host to which the connection failed
* @param socket The socket which could not connect
* @param errNo The errno of the error that occurred
* @return An initialized connection failed exception
*/
- (instancetype)initWithHost: (OFString *)host
port: (uint16_t)port
socket: (id)socket
errNo: (int)errNo;
/**
* @brief Initializes an already allocated connection failed exception.
*
|