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

An exception indicating a socket is not connected or bound. More...

#import <OFNotConnectedException.h>

Inheritance diagram for OFNotConnectedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:socket:

Detailed Description

An exception indicating a socket is not connected or bound.


Member Function Documentation

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

Initializes an already allocated not connected exception.

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

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