A protocol that needs to be implemented by delegates for OFStreamObserver. More...
#import <OFStreamObserver.h>
Instance Methods | |
(void) | - streamIsReadyForReading: |
This callback is called when a stream did get ready for reading. | |
(void) | - streamIsReadyForWriting: |
This callback is called when a stream did get ready for writing. | |
(void) | - streamDidReceiveException: |
This callback is called when an exception occurred on the stream. | |
Instance Methods inherited from <OFObject> | |
(Class) | - class |
Returns the class of the object. | |
(BOOL) | - isKindOfClass: |
Returns a boolean whether the object 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. | |
(IMP) | - methodForSelector: |
Returns the implementation for the specified selector. | |
(const char *) | - typeEncodingForSelector: |
Returns the type encoding for the specified selector. | |
(id) | - performSelector: |
Performs the specified selector. | |
(id) | - performSelector:withObject: |
Performs the specified selector with the specified object. | |
(id) | - performSelector:withObject:withObject: |
Performs the specified selector with the specified objects. | |
(BOOL) | - isEqual: |
Checks two objects for equality. | |
(uint32_t) | - hash |
Calculates a hash for the object. | |
(id) | - retain |
Increases the retain count. | |
(unsigned int) | - retainCount |
Returns the retain count. | |
(void) | - release |
Decreases the retain count. | |
(id) | - autorelease |
Adds the object to the topmost OFAutoreleasePool of the thread's autorelease pool stack. | |
(id) | - self |
Returns the receiver. | |
(BOOL) | - isProxy |
Returns whether the object is a proxy object. | |
A protocol that needs to be implemented by delegates for OFStreamObserver.
- (void) streamDidReceiveException: | (OFStream *) | stream |
This callback is called when an exception occurred on the stream.
stream | The stream on which an exception occurred |
- (void) streamIsReadyForReading: | (OFStream *) | stream |
This callback is called when a stream did get ready for reading.
stream | The stream which did become ready for reading |
- (void) streamIsReadyForWriting: | (OFStream *) | stream |
This callback is called when a stream did get ready for writing.
stream | The stream which did become ready for writing |