topical media & game development
#mobile-application-10-DerbyApp-build-iphone-Classes-TiNetworkTCPSocketProxy.h / h
Appcelerator Titanium Mobile
Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
Licensed under the terms of the Apache Public License
Please see the LICENSE included with this distribution for details.
WARNING: This is generated code. Modify at your own risk and without support.
ifdef USE_TI_NETWORK
#import <Foundation/Foundation.h>
#import <TiProxy.h>
#import <TiBlob.h>
#import <NetworkModule.h>
@interface TiNetworkTCPSocketProxy : TiProxy {
CFSocketRef socket;
NSString* hostName;
int port;
NSMutableDictionary* remoteSocketDictionary; // remoteSocket->{inputStream, outputStream, writeBuffer, writePos}
NSCondition* configureCondition;
BOOL stripTerminator;
SocketMode mode;
CFRunLoopSourceRef socketRunLoop;
}
-(void)listen:(id)unused;
-(void)connect:(id)unused;
-(void)close:(id)unused;
-(void)write:(id)arg;
@property(readonly, nonatomic) NSString* hostName;
@property(readonly, nonatomic) NSNumber* port;
@property(readonly, nonatomic) NSNumber* mode;
@property(readonly, nonatomic, getter=isValid) NSNumber* valid;
@property(nonatomic, assign) NSNumber* stripTerminator;
@end
endif
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.