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

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

#include <OFListenFailedException.h>

Inheritance diagram for OFListenFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:socket:backLog: (Class class_,[socket] OFTCPSocket *socket,[backLog] int backlog)
OFTCPSocketsocket ()
int backLog ()
int errNo ()

Static Public Member Functions

id newWithClass:socket:backLog: (Class class_,[socket] OFTCPSocket *socket,[backLog] int backlog)

Properties

OFTCPSocketsocket
int backLog
int errNo

Detailed Description

An exception indicating that listening on the socket failed.


Member Function Documentation

int OFListenFailedException::backLog ( ) [virtual]
Returns:
The requested back log.
int OFListenFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
id OFListenFailedException::initWithClass:socket:backLog: ( Class  class_,
[socket] OFTCPSocket socket,
[backLog] int  backlog 
) [virtual]

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
id OFListenFailedException::newWithClass:socket:backLog: ( Class  class_,
[socket] OFTCPSocket socket,
[backLog] int  backlog 
) [static, virtual]
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
OFTCPSocket* OFListenFailedException::socket ( ) [virtual]
Returns:
The socket which failed to listen

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