All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.api.engine.RpcCallback Maven / Gradle / Ivy

There is a newer version: 66.2
Show newest version
package org.telegram.api.engine;

import org.telegram.tl.TLObject;

/**
 * Created with IntelliJ IDEA.
 * User: Ruben Bermudez
 * Date: 05.11.13
 * Time: 14:10
 * @param   the type parameter
 */
public interface RpcCallback {
    /**
     * On result.
     *
     * @param result the result
     */
    void onResult(T result);

    /**
     * On error.
     *
     * @param errorCode the error code
     * @param message the message
     */
    void onError(int errorCode, String message);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy