FMIceLinkStreamSocket Class Reference
Inherits from | FMIceLinkManagedSocket : NSObject |
---|---|
Declared in | FMIceLinkStreamSocket.h FMIceLinkStreamSocket.m |
– acceptAsyncWithOnSuccess:onFailure:onSocket:
- (void)acceptAsyncWithOnSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction1 *)onFailure onSocket:(FMIceLinkAction1 *)onSocket
Parameters
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 *))onSocketBlock
Parameters
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 *) ))acceptAsyncWithOnSuccessBlockAndOnFailureBlockAndOnSocketBlock
Discussion
@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
– connectAsyncWithHostname:ipAddress:port:timeout:onSuccess:onFailure:
- (void)connectAsyncWithHostname:(NSString *)hostname ipAddress:(NSString *)ipAddress port:(int)port timeout:(int)timeout onSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction2 *)onFailure
Parameters
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 ))onFailureBlock
Parameters
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 ) ))connectAsyncWithHostnameAndIPAddressAndPortAndTimeoutAndOnSuccessBlockAndOnFailureBlock
Discussion
@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
– onReceiveFailure
- (FMIceLinkAction2 *)onReceiveFailure
Discussion
Declared In
FMIceLinkStreamSocket.h
– onReceiveSuccess
- (FMIceLinkAction1 *)onReceiveSuccess
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallback:exception:
- (void)raiseAcceptFailureWithCallback:(FMIceLinkAction1 *)callback exception:(NSException *)exception
Parameters
callback |
The callback. |
---|---|
exception |
The exception. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallbackBlock:exception:
- (void)raiseAcceptFailureWithCallbackBlock:(void ( ^ ) ( NSException *))callbackBlock exception:(NSException *)exception
Parameters
callbackBlock |
The callback. |
---|---|
exception |
The exception. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallbackBlockAndException
@inlineparam callbackBlock The callback. @inlineparam exception The exception.
- (void ( ^ ) ( void ( ^ ) ( NSException *) , NSException *))raiseAcceptFailureWithCallbackBlockAndException
Discussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception.
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallback:socket:
- (void)raiseAcceptSocketWithCallback:(FMIceLinkAction1 *)callback socket:(FMIceLinkStreamSocket *)socket
Parameters
callback |
The callback. |
---|---|
socket |
The socket. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallbackBlock:socket:
- (void)raiseAcceptSocketWithCallbackBlock:(void ( ^ ) ( FMIceLinkStreamSocket *))callbackBlock socket:(FMIceLinkStreamSocket *)socket
Parameters
callbackBlock |
The callback. |
---|---|
socket |
The socket. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallbackBlockAndSocket
@inlineparam callbackBlock The callback. @inlineparam socket The socket.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkStreamSocket *) , FMIceLinkStreamSocket *))raiseAcceptSocketWithCallbackBlockAndSocket
Discussion
@inlineparam callbackBlock The callback. @inlineparam socket The socket.
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSuccessWithCallback:
- (void)raiseAcceptSuccessWithCallback:(FMIceLinkAction0 *)callback
Parameters
callback |
The callback. |
---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseConnectFailureWithCallback:exception:timedOut:
- (void)raiseConnectFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callback |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseConnectFailureWithCallbackBlock:exception:timedOut:
- (void)raiseConnectFailureWithCallbackBlock:(void ( ^ ) ( NSException *, bool ))callbackBlock exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callbackBlock |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseConnectFailureWithCallbackBlockAndExceptionAndTimedOut
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
- (void ( ^ ) ( void ( ^ ) ( NSException *, bool ) , NSException *, bool ))raiseConnectFailureWithCallbackBlockAndExceptionAndTimedOut
Discussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
Declared In
FMIceLinkStreamSocket.h
– raiseConnectSuccessWithCallback:
- (void)raiseConnectSuccessWithCallback:(FMIceLinkAction0 *)callback
Parameters
callback |
The callback. |
---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveFailureWithCallback:exception:timedOut:
- (void)raiseReceiveFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callback |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveFailureWithCallbackBlock:exception:timedOut:
- (void)raiseReceiveFailureWithCallbackBlock:(void ( ^ ) ( NSException *, bool ))callbackBlock exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callbackBlock |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveFailureWithCallbackBlockAndExceptionAndTimedOut
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
- (void ( ^ ) ( void ( ^ ) ( NSException *, bool ) , NSException *, bool ))raiseReceiveFailureWithCallbackBlockAndExceptionAndTimedOut
Discussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveSuccessWithCallback:buffer:
- (void)raiseReceiveSuccessWithCallback:(FMIceLinkAction1 *)callback buffer:(FMIceLinkDataBuffer *)buffer
Parameters
callback |
The callback. |
---|---|
buffer |
The buffer. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveSuccessWithCallbackBlock:buffer:
- (void)raiseReceiveSuccessWithCallbackBlock:(void ( ^ ) ( FMIceLinkDataBuffer *))callbackBlock buffer:(FMIceLinkDataBuffer *)buffer
Parameters
callbackBlock |
The callback. |
---|---|
buffer |
The buffer. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveSuccessWithCallbackBlockAndBuffer
@inlineparam callbackBlock The callback. @inlineparam buffer The buffer.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *) , FMIceLinkDataBuffer *))raiseReceiveSuccessWithCallbackBlockAndBuffer
Discussion
@inlineparam callbackBlock The callback. @inlineparam buffer The buffer.
Declared In
FMIceLinkStreamSocket.h
– raiseSendFailureWithCallback:exception:timedOut:
- (void)raiseSendFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callback |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseSendFailureWithCallbackBlock:exception:timedOut:
- (void)raiseSendFailureWithCallbackBlock:(void ( ^ ) ( NSException *, bool ))callbackBlock exception:(NSException *)exception timedOut:(bool)timedOut
Parameters
callbackBlock |
The callback. |
---|---|
exception |
The exception. |
timedOut |
if set to true [timed out]. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseSendFailureWithCallbackBlockAndExceptionAndTimedOut
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
- (void ( ^ ) ( void ( ^ ) ( NSException *, bool ) , NSException *, bool ))raiseSendFailureWithCallbackBlockAndExceptionAndTimedOut
Discussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
Declared In
FMIceLinkStreamSocket.h
– raiseSendSuccessWithCallback:
- (void)raiseSendSuccessWithCallback:(FMIceLinkAction0 *)callback
Parameters
callback |
The callback. |
---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– receiveAsyncWithTimeout:
- (void)receiveAsyncWithTimeout:(int)timeout
Parameters
timeout |
The timeout (in ms). |
---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– remoteHostname
- (NSString *)remoteHostname
Discussion
Declared In
FMIceLinkStreamSocket.h
– remoteIPAddress
- (NSString *)remoteIPAddress
Discussion
Declared In
FMIceLinkStreamSocket.h
– remotePort
- (int)remotePort
Discussion
Declared In
FMIceLinkStreamSocket.h
– secure
- (bool)secure
Discussion
Declared In
FMIceLinkStreamSocket.h
– sendAsyncWithBuffer:timeout:onSuccess:onFailure:
- (void)sendAsyncWithBuffer:(FMIceLinkDataBuffer *)buffer timeout:(int)timeout onSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction2 *)onFailure
Parameters
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 ))onFailureBlock
Parameters
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 ) ))sendAsyncWithBufferAndTimeoutAndOnSuccessBlockAndOnFailureBlock
Discussion
@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 *)buffer
Parameters
buffer |
The buffer. |
---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– server
- (bool)server
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveFailure:
- (void)setOnReceiveFailure:(FMIceLinkAction2 *)value
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveFailureBlock
- (void ( ^ ) ( void ( ^ ) ( NSException *, bool ) ))setOnReceiveFailureBlock
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveFailureBlock:
- (void)setOnReceiveFailureBlock:(void ( ^ ) ( NSException *, bool ))valueBlock
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccess:
- (void)setOnReceiveSuccess:(FMIceLinkAction1 *)value
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccessBlock
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *) ))setOnReceiveSuccessBlock
Discussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccessBlock:
- (void)setOnReceiveSuccessBlock:(void ( ^ ) ( FMIceLinkDataBuffer *))valueBlock
Discussion
Declared In
FMIceLinkStreamSocket.h