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 *)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
– connectAsyncWithHostname:ipAddress:port:timeout:onSuccess:onFailure:
- (void)connectAsyncWithHostname:(NSString *)hostname ipAddress:(NSString *)ipAddress port:(int)port timeout:(int)timeout onSuccess:(FMIceLinkAction0 *)onSuccess onFailure:(FMIceLinkAction2 *)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
– onReceiveFailure
- (FMIceLinkAction2 *)onReceiveFailureDiscussion
Declared In
FMIceLinkStreamSocket.h
– onReceiveSuccess
- (FMIceLinkAction1 *)onReceiveSuccessDiscussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallback:exception:
- (void)raiseAcceptFailureWithCallback:(FMIceLinkAction1 *)callback exception:(NSException *)exceptionParameters
callback |
The callback. |
|---|---|
exception |
The exception. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallbackBlock:exception:
- (void)raiseAcceptFailureWithCallbackBlock:(void ( ^ ) ( NSException *))callbackBlock exception:(NSException *)exceptionParameters
callbackBlock |
The callback. |
|---|---|
exception |
The exception. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptFailureWithCallbackBlockAndException
@inlineparam callbackBlock The callback. @inlineparam exception The exception.
- (void ( ^ ) ( void ( ^ ) ( NSException *) , NSException *))raiseAcceptFailureWithCallbackBlockAndExceptionDiscussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception.
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallback:socket:
- (void)raiseAcceptSocketWithCallback:(FMIceLinkAction1 *)callback socket:(FMIceLinkStreamSocket *)socketParameters
callback |
The callback. |
|---|---|
socket |
The socket. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallbackBlock:socket:
- (void)raiseAcceptSocketWithCallbackBlock:(void ( ^ ) ( FMIceLinkStreamSocket *))callbackBlock socket:(FMIceLinkStreamSocket *)socketParameters
callbackBlock |
The callback. |
|---|---|
socket |
The socket. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSocketWithCallbackBlockAndSocket
@inlineparam callbackBlock The callback. @inlineparam socket The socket.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkStreamSocket *) , FMIceLinkStreamSocket *))raiseAcceptSocketWithCallbackBlockAndSocketDiscussion
@inlineparam callbackBlock The callback. @inlineparam socket The socket.
Declared In
FMIceLinkStreamSocket.h
– raiseAcceptSuccessWithCallback:
- (void)raiseAcceptSuccessWithCallback:(FMIceLinkAction0 *)callbackParameters
callback |
The callback. |
|---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseConnectFailureWithCallback:exception:timedOut:
- (void)raiseConnectFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOutParameters
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)timedOutParameters
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 ))raiseConnectFailureWithCallbackBlockAndExceptionAndTimedOutDiscussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
Declared In
FMIceLinkStreamSocket.h
– raiseConnectSuccessWithCallback:
- (void)raiseConnectSuccessWithCallback:(FMIceLinkAction0 *)callbackParameters
callback |
The callback. |
|---|
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveFailureWithCallback:exception:timedOut:
- (void)raiseReceiveFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOutParameters
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)timedOutParameters
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 ))raiseReceiveFailureWithCallbackBlockAndExceptionAndTimedOutDiscussion
@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 *)bufferParameters
callback |
The callback. |
|---|---|
buffer |
The buffer. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveSuccessWithCallbackBlock:buffer:
- (void)raiseReceiveSuccessWithCallbackBlock:(void ( ^ ) ( FMIceLinkDataBuffer *))callbackBlock buffer:(FMIceLinkDataBuffer *)bufferParameters
callbackBlock |
The callback. |
|---|---|
buffer |
The buffer. |
Discussion
Declared In
FMIceLinkStreamSocket.h
– raiseReceiveSuccessWithCallbackBlockAndBuffer
@inlineparam callbackBlock The callback. @inlineparam buffer The buffer.
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *) , FMIceLinkDataBuffer *))raiseReceiveSuccessWithCallbackBlockAndBufferDiscussion
@inlineparam callbackBlock The callback. @inlineparam buffer The buffer.
Declared In
FMIceLinkStreamSocket.h
– raiseSendFailureWithCallback:exception:timedOut:
- (void)raiseSendFailureWithCallback:(FMIceLinkAction2 *)callback exception:(NSException *)exception timedOut:(bool)timedOutParameters
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)timedOutParameters
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 ))raiseSendFailureWithCallbackBlockAndExceptionAndTimedOutDiscussion
@inlineparam callbackBlock The callback. @inlineparam exception The exception. @inlineparam timedOut if set to true [timed out].
Declared In
FMIceLinkStreamSocket.h
– raiseSendSuccessWithCallback:
- (void)raiseSendSuccessWithCallback:(FMIceLinkAction0 *)callbackParameters
callback |
The callback. |
|---|
Discussion
Declared In
FMIceLinkStreamSocket.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 *)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
– setOnReceiveFailure:
- (void)setOnReceiveFailure:(FMIceLinkAction2 *)valueDiscussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveFailureBlock
- (void ( ^ ) ( void ( ^ ) ( NSException *, bool ) ))setOnReceiveFailureBlockDiscussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveFailureBlock:
- (void)setOnReceiveFailureBlock:(void ( ^ ) ( NSException *, bool ))valueBlockDiscussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccess:
- (void)setOnReceiveSuccess:(FMIceLinkAction1 *)valueDiscussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccessBlock
- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *) ))setOnReceiveSuccessBlockDiscussion
Declared In
FMIceLinkStreamSocket.h
– setOnReceiveSuccessBlock:
- (void)setOnReceiveSuccessBlock:(void ( ^ ) ( FMIceLinkDataBuffer *))valueBlockDiscussion
Declared In
FMIceLinkStreamSocket.h