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

An exception indicating that accepting a connection failed. More...

#include <OFAcceptFailedException.h>

Inheritance diagram for OFAcceptFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Properties

OFTCPSocketsocket
int errNo

Detailed Description

An exception indicating that accepting a connection failed.


Member Function Documentation

int OFAcceptFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
id OFAcceptFailedException::initWithClass:socket: ( Class  class_,
[socket] OFTCPSocket socket 
) [virtual]

Initializes an already allocated accept failed exception.

Parameters:
class_The class of the object which caused the exception
socketThe socket which could not accept a connection
Returns:
An initialized accept failed exception
id OFAcceptFailedException::newWithClass:socket: ( Class  class_,
[socket] OFTCPSocket socket 
) [static, virtual]
Parameters:
class_The class of the object which caused the exception
socketThe socket which could not accept a connection
Returns:
A new accept failed exception
OFTCPSocket* OFAcceptFailedException::socket ( ) [virtual]
Returns:
The socket which could not accept a connection

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