com.smaxe.uv
Interface Responder


public interface Responder

Responder - interface which allows handling of values returned from the client/server (in the INetConnection#call(String, Responder, Object...)).

Author:
Andrei Sochirca

Method Summary
 void onResult(java.lang.Object result)
          Notifies about the result.
 void onStatus(java.util.Map<java.lang.String,java.lang.Object> status)
          Notifies about the status.
 

Method Detail

onResult

void onResult(java.lang.Object result)
Notifies about the result.

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
result - method invocation result

onStatus

void onStatus(java.util.Map<java.lang.String,java.lang.Object> status)
Notifies about the status.

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
status - method invocation status