Halyri - Server  0.9.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
IMobileClientMethods Interface Reference

Interface defining all callback methods supported by the mobile emergency client's SignalR client. More...

Inherited by MobileClientController.

Public Member Functions

void RequestLocationUpdate (String transportId)
 Sends location information update request to the emergency client with the specified SignalR connection ID. More...
 
void RequestDeviceInfo (String transportId)
 Sends mobile device information update request to the emergency client with the specified SignalR connection ID. More...
 
void UpdateConnectionStatus (String transportId, ConnectionStateDto status)
 Sends an update connection status to the emergency client with the specified SignalR connection ID. More...
 
void RequestUserInfo (String transportId)
 Sends user information update request to the emergency client with the specified SignalR connection ID. More...
 
void RequestMedicalInfo (String transportId)
 Sends medical information update request to the emergency client with the specified SignalR connection ID. More...
 
void DisplayUserLocationMap (String transportId)
 Orders the mobile emergency client to display a map enabling the user to manually specify the current location. More...
 
void CloseUserLocationMap (String transportId)
 Orders the mobile emergency client to hide the location map. More...
 
void GetInstrumentList (String transportId)
 Requests a list of available measurement instruments from the emergency client with the specified SignalR connection ID. More...
 
void RequestMediaUpstreaming (String transportId, MediaConfigurationDto mediaCofiguration)
 Requests the mobile emergency client to start upstreaming media according to the provided configuration More...
 
void RequestMediaDownstreaming (String transportId, string mediaUrl)
 Requests the mobile emergency client to start downstreaming and displaying media from the provided location. More...
 
void RequestStartMeasurement (String transportId, MeasurementInstrumentDto instrument)
 Requests the mobile emergency client with the specifiedSignalR connection ID to start measuring using the specified instrument and uploading the measurement data. More...
 
void RequestStopMeasurement (String transportId, MeasurementInstrumentDto instrument)
 Requests the mobile emergency client with the specified SignalR connection ID to stop measurement with the specified instrument and no to longer upload measurement data from it. More...
 
void IncomingTextMessage (String transportId, TextMessageDto textMessage)
 Sends a text based message the mobile emergency client with the specified SignalR connection ID. More...
 
void RequestConnectionLatencyInfo (String transportId)
 Requests the mobile emergency client with the specified SignalR connection ID to start connection latency measurement. More...
 

Detailed Description

Interface defining all callback methods supported by the mobile emergency client's SignalR client.

<author>Veli-Mikko Puupponen</author>

Member Function Documentation

void CloseUserLocationMap ( String  transportId)

Orders the mobile emergency client to hide the location map.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void DisplayUserLocationMap ( String  transportId)

Orders the mobile emergency client to display a map enabling the user to manually specify the current location.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void GetInstrumentList ( String  transportId)

Requests a list of available measurement instruments from the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void IncomingTextMessage ( String  transportId,
TextMessageDto  textMessage 
)

Sends a text based message the mobile emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
textMessageText message to be sent to the mobile emergency client
void RequestConnectionLatencyInfo ( String  transportId)

Requests the mobile emergency client with the specified SignalR connection ID to start connection latency measurement.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection

Implemented in MobileClientController.

void RequestDeviceInfo ( String  transportId)

Sends mobile device information update request to the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void RequestLocationUpdate ( String  transportId)

Sends location information update request to the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void RequestMediaDownstreaming ( String  transportId,
string  mediaUrl 
)

Requests the mobile emergency client to start downstreaming and displaying media from the provided location.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
mediaUrlLocation of the media to be displayed by the mobile emergency client

Implemented in MobileClientController.

void RequestMediaUpstreaming ( String  transportId,
MediaConfigurationDto  mediaCofiguration 
)

Requests the mobile emergency client to start upstreaming media according to the provided configuration

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
mediaCofigurationConfiguration describing the requested media

Implemented in MobileClientController.

void RequestMedicalInfo ( String  transportId)

Sends medical information update request to the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void RequestStartMeasurement ( String  transportId,
MeasurementInstrumentDto  instrument 
)

Requests the mobile emergency client with the specifiedSignalR connection ID to start measuring using the specified instrument and uploading the measurement data.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
instrumentTarget measurement instrumet

Implemented in MobileClientController.

void RequestStopMeasurement ( String  transportId,
MeasurementInstrumentDto  instrument 
)

Requests the mobile emergency client with the specified SignalR connection ID to stop measurement with the specified instrument and no to longer upload measurement data from it.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
instrumentTarget measurement instrumet

Implemented in MobileClientController.

void RequestUserInfo ( String  transportId)

Sends user information update request to the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.

Implemented in MobileClientController.

void UpdateConnectionStatus ( String  transportId,
ConnectionStateDto  status 
)

Sends an update connection status to the emergency client with the specified SignalR connection ID.

Parameters
transportIdSignalR connection ID for a mobile emergency client connection.
statusNew connection state

Implemented in MobileClientController.


The documentation for this interface was generated from the following file: