FMIceLinkVirtualTcpSocket Class Reference
| Inherits from | FMIceLinkStreamSocket : FMIceLinkManagedSocket : NSObject | 
|---|---|
| Declared in | FMIceLinkVirtualTcpSocket.h FMIceLinkVirtualTcpSocket.m  | 
– acceptAsyncWithOnSuccess:onFailure:onSocket:
	- (void)acceptAsyncWithOnSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction1<NSException*> *)onFailure onSocket:(FMIceLinkAction1<FMIceLinkStreamSocket*> *)onSocketParameters
onSuccess | 
						The callback to invoke on success.  | 
					
|---|---|
onFailure | 
						The callback to invoke on failure.  | 
					
onSocket | 
						The callback to invoke when a socket is ready.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– acceptAsyncWithOnSuccessBlock:onFailureBlock:onSocketBlock:
	- (void)acceptAsyncWithOnSuccessBlock:(void ( ^ ) ( ))onSuccessBlock onFailureBlock:(void ( ^ ) ( NSException *))onFailureBlock onSocketBlock:(void ( ^ ) ( FMIceLinkStreamSocket *))onSocketBlockParameters
onSuccessBlock | 
						The callback to invoke on success.  | 
					
|---|---|
onFailureBlock | 
						The callback to invoke on failure.  | 
					
onSocketBlock | 
						The callback to invoke when a socket is ready.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– acceptAsyncWithOnSuccessBlockAndOnFailureBlockAndOnSocketBlock
	@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure. @inlineparam onSocketBlock The callback to invoke when a socket is ready.
- (void ( ^ ) ( void ( ^ ) ( ) , void ( ^ ) ( NSException *) , void ( ^ ) ( FMIceLinkStreamSocket *) ))acceptAsyncWithOnSuccessBlockAndOnFailureBlockAndOnSocketBlockDiscussion
@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure. @inlineparam onSocketBlock The callback to invoke when a socket is ready.
Declared In
FMIceLinkStreamSocket.h
– bindWithIPAddress:port:addressInUse:
	- (bool)bindWithIPAddress:(NSString *)ipAddress port:(int)port addressInUse:(bool *)addressInUseParameters
ipAddress | 
						The local IP address.  | 
					
|---|---|
port | 
						The local port.  | 
					
addressInUse | 
						Indicates that access to the address is forbidden or in use.  | 
					
Discussion
Declared In
FMIceLinkManagedSocket.h
– close
	- (void)closeDiscussion
Declared In
FMIceLinkManagedSocket.h
– connectAsyncWithHostname:ipAddress:port:timeout:onSuccess:onFailure:
	- (void)connectAsyncWithHostname:(NSString *)hostname ipAddress:(NSString *)ipAddress port:(int)port timeout:(int)timeout onSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction2<NSException*,id> *)onFailureParameters
hostname | 
						The remote hostname.  | 
					
|---|---|
ipAddress | 
						The remote IP address.  | 
					
port | 
						The remote port.  | 
					
timeout | 
						The timeout (in ms).  | 
					
onSuccess | 
						The callback to invoke on success.  | 
					
onFailure | 
						The callback to invoke on failure.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– connectAsyncWithHostname:ipAddress:port:timeout:onSuccessBlock:onFailureBlock:
	- (void)connectAsyncWithHostname:(NSString *)hostname ipAddress:(NSString *)ipAddress port:(int)port timeout:(int)timeout onSuccessBlock:(void ( ^ ) ( ))onSuccessBlock onFailureBlock:(void ( ^ ) ( NSException *, bool ))onFailureBlockParameters
hostname | 
						The remote hostname.  | 
					
|---|---|
ipAddress | 
						The remote IP address.  | 
					
port | 
						The remote port.  | 
					
timeout | 
						The timeout (in ms).  | 
					
onSuccessBlock | 
						The callback to invoke on success.  | 
					
onFailureBlock | 
						The callback to invoke on failure.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– connectAsyncWithHostnameAndIPAddressAndPortAndTimeoutAndOnSuccessBlockAndOnFailureBlock
	@inlineparam hostname The remote hostname. @inlineparam ipAddress The remote IP address. @inlineparam port The remote port. @inlineparam timeout The timeout (in ms). @inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
- (void ( ^ ) ( NSString *, NSString *, int , int , void ( ^ ) ( ) , void ( ^ ) ( NSException *, bool ) ))connectAsyncWithHostnameAndIPAddressAndPortAndTimeoutAndOnSuccessBlockAndOnFailureBlockDiscussion
@inlineparam hostname The remote hostname. @inlineparam ipAddress The remote IP address. @inlineparam port The remote port. @inlineparam timeout The timeout (in ms). @inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
Declared In
FMIceLinkStreamSocket.h
– ipv6
	- (bool)ipv6Discussion
Declared In
FMIceLinkManagedSocket.h
– isClosed
	- (bool)isClosedDiscussion
Declared In
FMIceLinkManagedSocket.h
– localIPAddress
	- (NSString *)localIPAddressDiscussion
Declared In
FMIceLinkManagedSocket.h
– localPort
	- (int)localPortDiscussion
Declared In
FMIceLinkManagedSocket.h
– receiveAsyncWithTimeout:
	- (void)receiveAsyncWithTimeout:(int)timeoutParameters
timeout | 
						The timeout (in ms).  | 
					
|---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– remoteHostname
	- (NSString *)remoteHostnameDiscussion
Declared In
FMIceLinkStreamSocket.h
– remoteIPAddress
	- (NSString *)remoteIPAddressDiscussion
Declared In
FMIceLinkStreamSocket.h
– remotePort
	- (int)remotePortDiscussion
Declared In
FMIceLinkStreamSocket.h
– secure
	- (bool)secureDiscussion
Declared In
FMIceLinkStreamSocket.h
– sendAsyncWithBuffer:timeout:onSuccess:onFailure:
	- (void)sendAsyncWithBuffer:(FMIceLinkDataBuffer *)buffer timeout:(int)timeout onSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction2<NSException*,id> *)onFailureParameters
buffer | 
						The buffer.  | 
					
|---|---|
timeout | 
						The timeout (in ms).  | 
					
onSuccess | 
						The callback to invoke on success.  | 
					
onFailure | 
						The callback to invoke on failure.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– sendAsyncWithBuffer:timeout:onSuccessBlock:onFailureBlock:
	- (void)sendAsyncWithBuffer:(FMIceLinkDataBuffer *)buffer timeout:(int)timeout onSuccessBlock:(void ( ^ ) ( ))onSuccessBlock onFailureBlock:(void ( ^ ) ( NSException *, bool ))onFailureBlockParameters
buffer | 
						The buffer.  | 
					
|---|---|
timeout | 
						The timeout (in ms).  | 
					
onSuccessBlock | 
						The callback to invoke on success.  | 
					
onFailureBlock | 
						The callback to invoke on failure.  | 
					
Discussion
Declared In
FMIceLinkStreamSocket.h
– sendAsyncWithBufferAndTimeoutAndOnSuccessBlockAndOnFailureBlock
	@inlineparam buffer The buffer. @inlineparam timeout The timeout (in ms). @inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
- (void ( ^ ) ( FMIceLinkDataBuffer *, int , void ( ^ ) ( ) , void ( ^ ) ( NSException *, bool ) ))sendAsyncWithBufferAndTimeoutAndOnSuccessBlockAndOnFailureBlockDiscussion
@inlineparam buffer The buffer. @inlineparam timeout The timeout (in ms). @inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.
Declared In
FMIceLinkStreamSocket.h
– sendWithBuffer:
	- (bool)sendWithBuffer:(FMIceLinkDataBuffer *)bufferParameters
buffer | 
						The buffer.  | 
					
|---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– server
	- (bool)serverDiscussion
Declared In
FMIceLinkStreamSocket.h