Public Member Functions | Static Public Member Functions | Properties

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) + newWithClass:socket:backLog:

Properties

OFTCPSocketsocket
int backLog
int errNo

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) 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
socket The socket which failed to listen
backlog The requested size of the back log
Returns:
An initialized listen failed exception
+ (id) newWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket
backLog: (int)  backlog 
Parameters:
class_ The class of the object which caused the exception
socket The socket which failed to listen
backlog The requested size of the back log
Returns:
A new 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