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

An exception indicating an attempt to connect or bind an already connected or bound socket. More...

#import <OFAlreadyConnectedException.h>

Inheritance diagram for OFAlreadyConnectedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:socket:

Detailed Description

An exception indicating an attempt to connect or bind an already connected or bound socket.


Member Function Documentation

+ (id) exceptionWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 
Parameters:
class_The class of the object which caused the exception
socketThe socket which is already connected
Returns:
A new already connected exception
- (id) initWithClass: (Class)  class_
socket: (OFTCPSocket*)  socket 

Initializes an already allocated already connected exception.

Parameters:
class_The class of the object which caused the exception
socketThe socket which is already connected
Returns:
An initialized already connected exception
- (OFTCPSocket*) socket
Returns:
The socket which is already connected

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