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

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

#include <OFAlreadyConnectedException.h>

Inheritance diagram for OFAlreadyConnectedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Properties

OFTCPSocketsocket

Detailed Description

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


Member Function Documentation

id OFAlreadyConnectedException::initWithClass:socket: ( Class  class_,
[socket] OFTCPSocket socket 
) [virtual]

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
id OFAlreadyConnectedException::newWithClass:socket: ( Class  class_,
[socket] OFTCPSocket socket 
) [static, virtual]
Parameters:
class_The class of the object which caused the exception
socketThe socket which is already connected
Returns:
A new already connected exception
OFTCPSocket* OFAlreadyConnectedException::socket ( ) [virtual]
Returns:
The socket which is already connected

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