ObjFW
|
#include <ObjFW/ObjFW.h>
Instance Methods | |
(void) | - socket:didConnectToHost:port:exception: |
A method which is called when a socket connected. | |
Instance Methods inherited from <OFStreamSocketDelegate> | |
(bool) | - socket:didAcceptSocket:exception: |
A method which is called when a socket accepted a connection. | |
Instance Methods inherited from <OFStreamDelegate> | |
(bool) | - stream:didReadIntoBuffer:length:exception: |
This method is called when data was read asynchronously from a stream. | |
(bool) | - stream:didReadString:exception: |
This method is called when a string was read asynchronously from a stream. | |
(bool) | - stream:didReadLine:exception: |
This method is called when a line was read asynchronously from a stream. | |
(nullable OFData *) | - stream:didWriteData:bytesWritten:exception: |
This method is called when data was written asynchronously to a stream. | |
(nullable OFString *) | - stream:didWriteString:encoding:bytesWritten:exception: |
This method is called when a string was written asynchronously to a stream. | |
Instance Methods inherited from <OFObject> | |
(Class) | - class |
Returns the class of the object. | |
(nullable Class) | - superclass |
Returns the superclass of the object. | |
(unsigned long) | - hash |
Returns a hash for the object. | |
(unsigned int) | - retainCount |
Returns the retain count. | |
(bool) | - isProxy |
Returns whether the object is a proxy object. | |
(bool) | - isKindOfClass: |
Returns a boolean whether the object is of the specified kind. | |
(bool) | - isMemberOfClass: |
Returns a boolean whether the object is a member of the specified class. | |
(bool) | - respondsToSelector: |
Returns a boolean whether the object responds to the specified selector. | |
(bool) | - conformsToProtocol: |
Checks whether the object conforms to the specified protocol. | |
(nullable IMP) | - methodForSelector: |
Returns the implementation for the specified selector. | |
(nullable id) | - performSelector: |
Performs the specified selector. | |
(nullable id) | - performSelector:withObject: |
Performs the specified selector with the specified object. | |
(nullable id) | - performSelector:withObject:withObject: |
Performs the specified selector with the specified objects. | |
(nullable id) | - performSelector:withObject:withObject:withObject: |
Performs the specified selector with the specified objects. | |
(nullable id) | - performSelector:withObject:withObject:withObject:withObject: |
Performs the specified selector with the specified objects. | |
(bool) | - isEqual: |
Checks two objects for equality. | |
(instancetype) | - retain |
Increases the retain count. | |
(void) | - release |
Decreases the retain count. | |
(instancetype) | - autorelease |
Adds the object to the topmost autorelease pool of the thread's autorelease pool stack. | |
(instancetype) | - self |
Returns the receiver. | |
(bool) | - allowsWeakReference |
Returns whether the object allows a weak reference. | |
(bool) | - retainWeakReference |
Retain a weak reference to this object. | |
A delegate for OFTCPSocket.
|
optional |
A method which is called when a socket connected.
socket | The socket which connected |
host | The host connected to |
port | The port on the host connected to |
exception | An exception that occurred while connecting, or nil on success |