ObjFW
|
#import <ObjFW/OFSPXSocket.h>
Instance Methods | |
(void) | - socket:didConnectToNode:network:port:exception: |
A method which is called when a socket connected. More... | |
![]() | |
(bool) | - socket:didReceiveIntoBuffer:length:exception: |
This method is called when a packet has been received. More... | |
(nullable OFData *) | - socket:didSendData:exception: |
This method is called when a packet has been sent. More... | |
(bool) | - socket:didAcceptSocket:exception: |
A method which is called when a socket accepted a connection. More... | |
![]() | |
(Class) | - class |
Returns the class of the object. More... | |
(nullable Class) | - superclass |
Returns the superclass of the object. More... | |
(unsigned long) | - hash |
Returns a 32 bit hash for the object. More... | |
(unsigned int) | - retainCount |
Returns the retain count. More... | |
(bool) | - isProxy |
Returns whether the object is a proxy object. More... | |
(bool) | - allowsWeakReference |
Returns whether the object allows weak references. More... | |
(bool) | - isKindOfClass: |
Returns a boolean whether the object of the specified kind. More... | |
(bool) | - isMemberOfClass: |
Returns a boolean whether the object is a member of the specified class. More... | |
(bool) | - respondsToSelector: |
Returns a boolean whether the object responds to the specified selector. More... | |
(bool) | - conformsToProtocol: |
Checks whether the object conforms to the specified protocol. More... | |
(nullable IMP) | - methodForSelector: |
Returns the implementation for the specified selector. More... | |
(nullable id) | - performSelector: |
Performs the specified selector. More... | |
(nullable id) | - performSelector:withObject: |
Performs the specified selector with the specified object. More... | |
(nullable id) | - performSelector:withObject:withObject: |
Performs the specified selector with the specified objects. More... | |
(nullable id) | - performSelector:withObject:withObject:withObject: |
Performs the specified selector with the specified objects. More... | |
(nullable id) | - performSelector:withObject:withObject:withObject:withObject: |
Performs the specified selector with the specified objects. More... | |
(bool) | - isEqual: |
Checks two objects for equality. More... | |
(instancetype) | - retain |
Increases the retain count. More... | |
(void) | - release |
Decreases the retain count. More... | |
(instancetype) | - autorelease |
Adds the object to the topmost autorelease pool of the thread's autorelease pool stack. More... | |
(instancetype) | - self |
Returns the receiver. More... | |
(bool) | - retainWeakReference |
Retain a weak reference to this object. More... | |
A delegate for OFSPXSocket.
|
optional |
A method which is called when a socket connected.
socket | The socket which connected |
node | The node the socket connected to |
network | The network of the node the socket connected to |
port | The port of the node to which the socket connected |
exception | An exception that occurred while connecting, or nil on success |