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

Interface defining the WCF service for the for the emergency mobile clients. This interface is only used for client-to-server invocation after the emergency mobile client has opened an emergency connection using the SignalR hub connection. More...

Inherited by WcfMobileService.

Public Member Functions

void UpdateLocation (string guid, LocationInformationDto location)
 Send new location information to the server. More...
 
void UpdateDeviceInfo (string guid, MobileDeviceInformationDto deviceInfo)
 Send new mobile device status information to the server. More...
 
void UpdatePersonalInfo (string guid, PersonalInformationDto userInfo)
 Send new mobile emergency client user's information to the server. More...
 
void UpdateMedicalInfo (string guid, MedicalInformationDto medicalInfo)
 Send new mobile emergency client user medical information to the server. More...
 
void UpdateConnectionPriority (string guid, ConnectionPriorityDto priority)
 Sends the selected emergency priority to the server. More...
 
void UpdateRequestType (string guid, EmergencyTypeDto requestType)
 Sends the selected emergency type to the server. More...
 
void ToggleNoSound (string guid, bool noSound)
 Sets mobile emergency client request for operation without sound. More...
 
void UpdateInstrumentList (string guid, List< MeasurementInstrumentDto > instruments)
 Updates the list of supported measurement instruments to the server. More...
 
void UploadMediaSegment (string guid, MediaInformationDto mediaInfo, byte[] mediaData)
 Uploads a segment of media from the mobile emergency client to the server. More...
 
AudioVideoContainerDto GetMediaSegment (string guid)
 
int Ping (int pingSequence)
 
void UploadMeasurementData (string guid, MeasurementInstrumentDto instrument, byte[] measurementData)
 Uploads a segment of measurement data from an instrument at the mobile device to the server. More...
 
void SendTextMessage (string guid, TextMessageDto textMessage)
 Sends a text based message to the call center client handling this emergency connection. More...
 
byte[] SendTestPacket (string guid, byte[] testPacket)
 Sends a test packet to the server. More...
 
void UpdateConnectionLatencyInfo (string guid, ConnectionLatencyInformationDto latencyInfo)
 Updates the connection latency information to the server. More...
 

Detailed Description

Interface defining the WCF service for the for the emergency mobile clients. This interface is only used for client-to-server invocation after the emergency mobile client has opened an emergency connection using the SignalR hub connection.

<author>Veli-Mikko Puupponen</author>

Member Function Documentation

byte [] SendTestPacket ( string  guid,
byte[]  testPacket 
)

Sends a test packet to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency client connection
testPacketTest packet
Returns
a byte array

Implemented in WcfMobileService.

void SendTextMessage ( string  guid,
TextMessageDto  textMessage 
)

Sends a text based message to the call center client handling this emergency connection.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency client connection
textMessageText message to the call center

Implemented in WcfMobileService.

void ToggleNoSound ( string  guid,
bool  noSound 
)

Sets mobile emergency client request for operation without sound.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
noSoundtrue if operation without sound is requested

Implemented in WcfMobileService.

void UpdateConnectionLatencyInfo ( string  guid,
ConnectionLatencyInformationDto  latencyInfo 
)

Updates the connection latency information to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency client connection
latencyInfoLatency information

Implemented in WcfMobileService.

void UpdateConnectionPriority ( string  guid,
ConnectionPriorityDto  priority 
)

Sends the selected emergency priority to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
priorityNew emergency connection priority

Implemented in WcfMobileService.

void UpdateDeviceInfo ( string  guid,
MobileDeviceInformationDto  deviceInfo 
)

Send new mobile device status information to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
deviceInfoNew mobile device information

Implemented in WcfMobileService.

void UpdateInstrumentList ( string  guid,
List< MeasurementInstrumentDto instruments 
)

Updates the list of supported measurement instruments to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
instrumentsList of available measurement instruments at the mobile device

Implemented in WcfMobileService.

void UpdateLocation ( string  guid,
LocationInformationDto  location 
)

Send new location information to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
locationNew location information

Implemented in WcfMobileService.

void UpdateMedicalInfo ( string  guid,
MedicalInformationDto  medicalInfo 
)

Send new mobile emergency client user medical information to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
medicalInfoNew user medical information

Implemented in WcfMobileService.

void UpdatePersonalInfo ( string  guid,
PersonalInformationDto  userInfo 
)

Send new mobile emergency client user's information to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
userInfoNew user information

Implemented in WcfMobileService.

void UpdateRequestType ( string  guid,
EmergencyTypeDto  requestType 
)

Sends the selected emergency type to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
requestTypeSelected emergency type

Implemented in WcfMobileService.

void UploadMeasurementData ( string  guid,
MeasurementInstrumentDto  instrument,
byte[]  measurementData 
)

Uploads a segment of measurement data from an instrument at the mobile device to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency client connection
instrumentMeasurement instrument
measurementDataMeasurement data bytes

Implemented in WcfMobileService.

void UploadMediaSegment ( string  guid,
MediaInformationDto  mediaInfo,
byte[]  mediaData 
)

Uploads a segment of media from the mobile emergency client to the server.

Throws ParameterFault if supplied parameters are null or incorrect. Throws ConnectionFault if supplied GUID does not represent a valid connection. Throws TargetStateFault if the connection is processed or otherwise in an incompatible state.

Parameters
guidGUID identifying the mobile emergency clientconnection
mediaInfoDescription of the media
mediaDataMedia data bytes

Implemented in WcfMobileService.


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