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

hprose.server.HproseServiceEvent Maven / Gradle / Ivy

/**********************************************************\
|                                                          |
|                          hprose                          |
|                                                          |
| Official WebSite: http://www.hprose.com/                 |
|                   http://www.hprose.org/                 |
|                                                          |
\**********************************************************/
/**********************************************************\
 *                                                        *
 * HproseServiceEvent.java                                *
 *                                                        *
 * hprose service event interface for Java.               *
 *                                                        *
 * LastModified: Apr 19, 2015                             *
 * Author: Ma Bingyao                   *
 *                                                        *
\**********************************************************/
package hprose.server;

import hprose.common.HproseContext;

public interface HproseServiceEvent {
    void onBeforeInvoke(String name, Object[] args, boolean byRef, HproseContext context) throws Throwable;
    void onAfterInvoke(String name, Object[] args, boolean byRef, Object result, HproseContext context) throws Throwable;
    Throwable onSendError(Throwable e, HproseContext context) throws Throwable;
    void onServerError(Throwable e, HproseContext context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy