FMIceLinkDatagramSocket Class Reference

Inherits from FMIceLinkManagedSocket : NSObject
Declared in FMIceLinkDatagramSocket.h
FMIceLinkDatagramSocket.m

Overview

A datagram socket.

– maxQueuedPackets

Gets the maximum number of packets that can be queued at any given point in time.
- (int)maxQueuedPackets

Discussion

Gets the maximum number of packets that can be queued at any given point in time.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveFailureWithCallback:exception:

Invokes the receive failure callback.
- (void)raiseReceiveFailureWithCallback:(FMIceLinkAction1 *)callback exception:(NSException *)exception

Parameters

callback

The callback.

exception

The exception.

Discussion

Invokes the receive failure callback.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveFailureWithCallbackBlock:exception:

Invokes the receive failure callback.
- (void)raiseReceiveFailureWithCallbackBlock:(void ( ^ ) ( NSException *))callbackBlock exception:(NSException *)exception

Parameters

callbackBlock

The callback.

exception

The exception.

Discussion

Invokes the receive failure callback.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveFailureWithCallbackBlockAndException

Invokes the receive failure callback.

@inlineparam callbackBlock The callback. @inlineparam exception The exception.

- (void ( ^ ) ( void ( ^ ) ( NSException *) , NSException *))raiseReceiveFailureWithCallbackBlockAndException

Discussion

Invokes the receive failure callback.

@inlineparam callbackBlock The callback. @inlineparam exception The exception.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveSuccessWithCallback:buffer:ipAddress:port:

Invokes the receive success callback.
- (void)raiseReceiveSuccessWithCallback:(FMIceLinkAction3 *)callback buffer:(FMIceLinkDataBuffer *)buffer ipAddress:(NSString *)ipAddress port:(int)port

Parameters

callback

The callback.

buffer

The buffer.

ipAddress

The IP address.

port

The port.

Discussion

Invokes the receive success callback.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveSuccessWithCallbackBlock:buffer:ipAddress:port:

Invokes the receive success callback.
- (void)raiseReceiveSuccessWithCallbackBlock:(void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ))callbackBlock buffer:(FMIceLinkDataBuffer *)buffer ipAddress:(NSString *)ipAddress port:(int)port

Parameters

callbackBlock

The callback.

buffer

The buffer.

ipAddress

The IP address.

port

The port.

Discussion

Invokes the receive success callback.

Declared In

FMIceLinkDatagramSocket.h

– raiseReceiveSuccessWithCallbackBlockAndBufferAndIPAddressAndPort

Invokes the receive success callback.

@inlineparam callbackBlock The callback. @inlineparam buffer The buffer. @inlineparam ipAddress The IP address. @inlineparam port The port.

- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ) , FMIceLinkDataBuffer *, NSString *, int ))raiseReceiveSuccessWithCallbackBlockAndBufferAndIPAddressAndPort

Discussion

Invokes the receive success callback.

@inlineparam callbackBlock The callback. @inlineparam buffer The buffer. @inlineparam ipAddress The IP address. @inlineparam port The port.

Declared In

FMIceLinkDatagramSocket.h

– receiveAsyncWithOnSuccess:onFailure:

Receives data asynchronously.
- (void)receiveAsyncWithOnSuccess:(FMIceLinkAction3 *)onSuccess onFailure:(FMIceLinkAction1 *)onFailure

Parameters

onSuccess

The callback to invoke on success.

onFailure

The callback to invoke on failure.

Discussion

Receives data asynchronously.

Declared In

FMIceLinkDatagramSocket.h

– receiveAsyncWithOnSuccessBlock:onFailureBlock:

Receives data asynchronously.
- (void)receiveAsyncWithOnSuccessBlock:(void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ))onSuccessBlock onFailureBlock:(void ( ^ ) ( NSException *))onFailureBlock

Parameters

onSuccessBlock

The callback to invoke on success.

onFailureBlock

The callback to invoke on failure.

Discussion

Receives data asynchronously.

Declared In

FMIceLinkDatagramSocket.h

– receiveAsyncWithOnSuccessBlockAndOnFailureBlock

Receives data asynchronously.

@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.

- (void ( ^ ) ( void ( ^ ) ( FMIceLinkDataBuffer *, NSString *, int ) , void ( ^ ) ( NSException *) ))receiveAsyncWithOnSuccessBlockAndOnFailureBlock

Discussion

Receives data asynchronously.

@inlineparam onSuccessBlock The callback to invoke on success. @inlineparam onFailureBlock The callback to invoke on failure.

Declared In

FMIceLinkDatagramSocket.h

– sendWithBuffer:ipAddress:port:

Sends data synchronously.
- (int)sendWithBuffer:(FMIceLinkDataBuffer *)buffer ipAddress:(NSString *)ipAddress port:(int)port

Parameters

buffer

The buffer.

ipAddress

The remote IP address.

port

The remote port.

Discussion

Sends data synchronously.

Declared In

FMIceLinkDatagramSocket.h

– setMaxQueuedPackets:

Sets the maximum number of packets that can be queued at any given point in time.
- (void)setMaxQueuedPackets:(int)value

Discussion

Sets the maximum number of packets that can be queued at any given point in time.

Declared In

FMIceLinkDatagramSocket.h