ObjFW
Public Member Functions | Static Public Member Functions
OFListenFailedException Class Reference

An exception indicating that listening on the socket failed. More...

#import <OFListenFailedException.h>

Inheritance diagram for OFListenFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithClass:socket:backLog:
(OFTCPSocket *) - socket
(int) - backLog
(int) - errNo

Static Public Member Functions

(id) + exceptionWithClass:socket:backLog:

Detailed Description

An exception indicating that listening on the socket failed.


Member Function Documentation

- (int) backLog
Returns:
The requested back log.
- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket
backLog: (int)  backlog 
Parameters:
class_The class of the object which caused the exception
socketThe socket which failed to listen
backlogThe requested size of the back log
Returns:
A new listen failed exception
- (id) initWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket
backLog: (int)  backlog 

Initializes an already allocated listen failed exception

Parameters:
class_The class of the object which caused the exception
socketThe socket which failed to listen
backlogThe requested size of the back log
Returns:
An initialized listen failed exception
- (OFTCPSocket*) socket
Returns:
The socket which failed to listen

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties