Public Member Functions | Static Public Member Functions | Properties

OFAcceptFailedException Class Reference

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

#import <OFAcceptFailedException.h>

Inheritance diagram for OFAcceptFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + newWithClass:socket:

Properties

OFTCPSocketsocket
int errNo

Detailed Description

An exception indicating that accepting a connection failed.


Member Function Documentation

- (int) errNo  
Returns:
The errno from when the exception was created
- (id) initWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 

Initializes an already allocated accept failed exception.

Parameters:
class_ The class of the object which caused the exception
socket The socket which could not accept a connection
Returns:
An initialized accept failed exception
+ (id) newWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 
Parameters:
class_ The class of the object which caused the exception
socket The socket which could not accept a connection
Returns:
A new accept failed exception
- (OFTCPSocket*) socket  
Returns:
The socket which could not accept a connection

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