Halyri - Server
0.9.1
|
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... | |
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>
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.
guid | GUID identifying the mobile emergency client connection |
testPacket | Test packet |
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.
guid | GUID identifying the mobile emergency client connection |
textMessage | Text 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.
guid | GUID identifying the mobile emergency clientconnection |
noSound | true 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.
guid | GUID identifying the mobile emergency client connection |
latencyInfo | Latency 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.
guid | GUID identifying the mobile emergency clientconnection |
priority | New 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.
guid | GUID identifying the mobile emergency clientconnection |
deviceInfo | New 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.
guid | GUID identifying the mobile emergency clientconnection |
instruments | List 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.
guid | GUID identifying the mobile emergency clientconnection |
location | New 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.
guid | GUID identifying the mobile emergency clientconnection |
medicalInfo | New 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.
guid | GUID identifying the mobile emergency clientconnection |
userInfo | New 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.
guid | GUID identifying the mobile emergency clientconnection |
requestType | Selected 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.
guid | GUID identifying the mobile emergency client connection |
instrument | Measurement instrument |
measurementData | Measurement 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.
guid | GUID identifying the mobile emergency clientconnection |
mediaInfo | Description of the media |
mediaData | Media data bytes |
Implemented in WcfMobileService.