Conforms to NSObject
Declared in RespokeSignalingChannel.h

Overview

A delegate protocol to notify the receiver of events occurring with the connection status of the signaling channel

Tasks

Instance Methods

callCreated:

- (void)callCreated:(RespokeCall *)call
Discussion

Receive a notification from the signaling channel that a call has been created

Parameters

call

The RespokeCall instance that was created

Declared In

RespokeSignalingChannel.h

callTerminated:

- (void)callTerminated:(RespokeCall *)call
Discussion

Receive a notification from the signaling channel that a call has terminated

Parameters

call

The RespokeCall instance that was terminated

Declared In

RespokeSignalingChannel.h

callWithID:

- (RespokeCall *)callWithID:(NSString *)sessionID
Discussion

Find a call with the specified session ID

Parameters

sessionID

SessionID to find

Return Value

The RespokeCall instance with that sessionID. If not found, will return nil.

Declared In

RespokeSignalingChannel.h

directConnectionAvailable:endpoint:

- (void)directConnectionAvailable:(RespokeDirectConnection *)directConnection endpoint:(RespokeEndpoint *)endpoint
Discussion

This event is fired when the logged-in endpoint is receiving a request to open a direct connection to another endpoint. If the user wishes to allow the direct connection, calling ‘accept’ on the direct connection will allow the connection to be set up.

Declared In

RespokeSignalingChannel.h

onConnect:endpointID:connectionID:

- (void)onConnect:(RespokeSignalingChannel *)sender endpointID:(NSString *)endpointID connectionID:(NSString *)connectionID
Discussion

Receive a notification from the signaling channel that it has connected to the cloud infrastructure

Parameters

sender

The signaling channel that triggered the event

endpointID

The endpointID for this connection, as reported by the server

connectionID

The connectionID for this connection, as reported by the server

Declared In

RespokeSignalingChannel.h

onDisconnect:

- (void)onDisconnect:(RespokeSignalingChannel *)sender
Discussion

Receive a notification from the signaling channel that it has disconnected to the cloud infrastructure

Parameters

sender

The signaling channel that triggered the event

Declared In

RespokeSignalingChannel.h

onError:sender:

- (void)onError:(NSError *)error sender:(RespokeSignalingChannel *)sender
Discussion

Receive a notification from the signaling channel that an error has occurred

Parameters

error

Error message

sender

The signaling channel that triggered the event

Declared In

RespokeSignalingChannel.h

onGroupMessage:groupID:endpointID:sender:timestamp:

- (void)onGroupMessage:(NSString *)message groupID:(NSString *)groupID endpointID:(NSString *)endpointID sender:(RespokeSignalingChannel *)sender timestamp:(NSDate *)timestamp
Discussion

Receive a notification that a group message was received

Parameters

message

The body of the message

groupID

The ID of the group to which the message was sent

endpointID

The ID of the endpoint that sent the message

sender

The signaling channel that triggered the event

timestamp

The message timestamp

Declared In

RespokeSignalingChannel.h

onIncomingCallWithSDP:sessionID:connectionID:endpointID:fromType:sender:timestamp:

- (void)onIncomingCallWithSDP:(NSDictionary *)sdp sessionID:(NSString *)sessionID connectionID:(NSString *)connectionID endpointID:(NSString *)endpointID fromType:(NSString *)fromType sender:(RespokeSignalingChannel *)sender timestamp:(NSDate *)timestamp
Discussion

Receive a notification from the signaling channel that a remote endpoint is attempting to start a call

Parameters

sdp

The SDP data for the call

sessionID

The session ID of the call

connectionID

The connectionID that is calling

endpointID

The endpointID that is calling

sender

The signaling channel that triggered the event

timestamp

The call timestamp

Declared In

RespokeSignalingChannel.h

onIncomingDirectConnectionWithSDP:sessionID:connectionID:endpointID:sender:timestamp:

- (void)onIncomingDirectConnectionWithSDP:(NSDictionary *)sdp sessionID:(NSString *)sessionID connectionID:(NSString *)connectionID endpointID:(NSString *)endpointID sender:(RespokeSignalingChannel *)sender timestamp:(NSDate *)timestamp
Discussion

Receive a notification from the signaling channel that a remote endpoint is attempting to start a direct connection

Parameters

sdp

The SDP data for the directConnection

sessionID

The session ID of the directConnection

connectionID

The connectionID that is calling

endpointID

The endpointID that is calling

sender

The signaling channel that triggered the event

timestamp

The call timestamp

Declared In

RespokeSignalingChannel.h

onJoinGroupID:endpointID:connectionID:sender:

- (void)onJoinGroupID:(NSString *)groupID endpointID:(NSString *)endpointID connectionID:(NSString *)connectionID sender:(RespokeSignalingChannel *)sender
Discussion

Receive a notification from the signaling channel that an endpoint has joined this group.

Parameters

groupID

The ID of the group triggering the join message

endpointID

The ID of the endpoint that to which the connection belongs

connectionID

The ID of the connection that has joined the group

sender

The signaling channel that triggered the event

Declared In

RespokeSignalingChannel.h

onLeaveGroupID:endpointID:connectionID:sender:

- (void)onLeaveGroupID:(NSString *)groupID endpointID:(NSString *)endpointID connectionID:(NSString *)connectionID sender:(RespokeSignalingChannel *)sender
Discussion

Receive a notification from the signaling channel that an endpoint has left this group.

Parameters

groupID

The ID of the group triggering the leave message

endpointID

The ID of the endpoint that to which the connection belongs

connectionID

The ID of the connection that has left the group

sender

The signaling channel that triggered the event

Declared In

RespokeSignalingChannel.h

onMessage:fromEndpointID:toEndpointID:sender:timestamp:

- (void)onMessage:(NSString *)message fromEndpointID:(NSString *)fromEndpointID toEndpointID:(NSString *)toEndpointID sender:(RespokeSignalingChannel *)sender timestamp:(NSDate *)timestamp
Discussion

Receive a notification from the signaling channel that a message has been sent

Parameters

message

The body of the message

fromEndpointID

The ID of the endpoint sending the message

toEndpointID

The ID of the endpoint receiving this message

sender

The signaling channel that triggered the event

timestamp

The message timestamp

Declared In

RespokeSignalingChannel.h

onPresence:connectionID:endpointID:sender:

- (void)onPresence:(NSObject *)presence connectionID:(NSString *)connectionID endpointID:(NSString *)endpoint sender:(RespokeSignalingChannel *)sender
Discussion

Receive a notification that a presence change message was received

Parameters

presence

The new presence value

connectionID

The connection ID whose presence changed

endpoint

The endpoint ID to which the connection belongs

sender

The signaling channel that triggered the event

Declared In

RespokeSignalingChannel.h