org.silvermoon.moonglow.common
Interface ResponseListener

All Known Implementing Classes:
Client

public interface ResponseListener

Interface for a client who wishes to make a request to a plugin and receive an asynchronous response


Method Summary
 void handleResponse(int requestId, Response response)
          Signal a response
 void handleResponseError(int requestId, java.lang.Throwable error)
          Signal an error processing the request
 

Method Detail

handleResponse

public void handleResponse(int requestId,
                           Response response)
Signal a response


handleResponseError

public void handleResponseError(int requestId,
                                java.lang.Throwable error)
Signal an error processing the request