System/Library/Frameworks/ExternalAccessory.framework
EAInputStream.h
@class NSRecursiveLock, NSObject, NSCondition, NSMutableData, EAAccessory, EASession;
@protocol OS_dispatch_queue, OS_dispatch_source;
@interface EAInputStream : NSInputStream {
id _delegate;
EAAccessory *_accessory;
EASession *_session;
int _sock;
BOOL _useSocket;
NSMutableData *_inputFromAccData;
NSCondition *_inputFromAccCondition;
NSRecursiveLock *_statusLock;
NSRecursiveLock *_runloopLock;
NSObject<OS_dispatch_queue> *_inputFromAccQueue;
NSObject<OS_dispatch_source> *_sockListenSource;
char *_inputFromAccBuffer;
BOOL _isOpenCompletedEventSent;
BOOL _hasNewBytesAvailable;
BOOL _isAtEndEventSent;
unsigned long long _streamStatus;
struct __CFRunLoop { } *_runLoop;
struct __CFRunLoopSource { } *_runLoopSource;
}
@property int zeroBytesReadCount;
- (void)close;
- (void)scheduleInRunLoop:(id)a0 forMode:(id)a1;
- (BOOL)hasBytesAvailable;
- (BOOL)getBuffer:(char **)a0 length:(unsigned long long *)a1;
- (void)removeFromRunLoop:(id)a0 forMode:(id)a1;
- (void)dealloc;
- (id)delegate;
- (void)open;
- (unsigned long long)streamStatus;
- (id)streamError;
- (BOOL)setProperty:(id)a0 forKey:(id)a1;
- (long long)read:(char *)a0 maxLength:(unsigned long long)a1;
- (void)setDelegate:(id)a0;
- (void)_accessoryDidDisconnect:(id)a0;
- (id)propertyForKey:(id)a0;
- (void)_performAtEndOfStreamValidation;
- (void)_scheduleCallback;
- (void)_streamEventTrigger;
- (void)endStream;
- (id)initWithAccessory:(id)a0 forSession:(id)a1 socket:(int)a2;
- (id)initWithAccessoryWithoutSocket:(id)a0 forSession:(id)a1;
- (void)openCompleted;
- (void)processIncomingAccessoryData:(id)a0;
@end