Drag[en]gine Script Module DragonScript  1.23
Dragengine.ServiceListener Interface Reference

Service listener. More...

Inheritance diagram for Dragengine.ServiceListener:
Dragengine.Services.ServiceEos Dragengine.Services.ServiceModio Dragengine.Services.ServiceMsgdk Dragengine.Services.ServiceSteam

Public Member Functions

void eventReceived (Service service, ServiceObject event)
 Service event received for example notifications. More...
 
void requestFailed (Service service, UniqueID id, ServiceObject error)
 Request failed. More...
 
void requestResponse (Service service, UniqueID id, ServiceObject response, bool finished)
 Response received for request. More...
 

Detailed Description

Service listener.

Version
1.23

This is a native class.

Member Function Documentation

◆ eventReceived()

void Dragengine.ServiceListener.eventReceived ( Service  service,
ServiceObject  event 
)

Service event received for example notifications.

Parameters
serviceService receiving the event.
eventEvent data.

◆ requestFailed()

void Dragengine.ServiceListener.requestFailed ( Service  service,
UniqueID  id,
ServiceObject  error 
)

Request failed.

Parameters
serviceService receiving the failure.
idIdentifier of request that failed.
errorFailure data.

◆ requestResponse()

void Dragengine.ServiceListener.requestResponse ( Service  service,
UniqueID  id,
ServiceObject  response,
bool  finished 
)

Response received for request.

Parameters
serviceService receiving the response.
idIdentifier of request this response belongs to.
responseResponse data.
finishedTrue if the request finished or false if more responses will be received.

Implemented in Dragengine.Services.ServiceSteam, Dragengine.Services.ServiceMsgdk, Dragengine.Services.ServiceModio, and Dragengine.Services.ServiceEos.


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