Interface ServiceCallback


public interface ServiceCallback

This interface represents a function prototype for service request handling.

See Also:
Callbacks

Method Summary
 Object execute(String service, Value argument)
          Execute received service call.
 

Method Detail

execute

Object execute(String service,
               Value argument)
Execute received service call.

Parameters:
service - Name of service
argument - Service argument
Returns:
one of
  • null: No response to send
  • Value returnValue: Successful response
  • String errorMessage: Failed response