vertx.effect.Event Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-effect Show documentation
Show all versions of vertx-effect Show documentation
When actors meet Functional Programming
package vertx.effect;
import jsonvalues.*;
import java.time.Instant;
import static jsonvalues.JsPath.path;
public final class Event {
private Event(){}
public static final Option idOption = JsObj.optional.str(path("/id"));
public static final Option addressOpt = JsObj.optional.str(path("/address"));
public static final Option toOpt = JsObj.optional.str(path("/to"));
public static final Option fromOpt = JsObj.optional.str(path("/from"));
public static final Option classOpt = JsObj.optional.str(path("/class"));
public static final Option exceptionOpt = JsObj.optional.str(path("/exception/class"));
public static final Option exceptionMessageOpt = JsObj.optional.str(path("/exception/message"));
public static final Option exceptionStackOpt = JsObj.optional.str(path("/exception/stacktrace"));
public static final Lens eventLens = JsObj.lens.str(path("/event"));
public static final Lens instantLens = JsObj.lens.instant(path("/instant"));
public static final Lens contextLens = JsObj.lens.value(path("/context"));
public static final Lens threadLens = JsObj.lens.str(path("/thread"));
public static final Lens messageLens = JsObj.lens.value(path("/message"));
public static final Lens failureTypeLens = JsObj.lens.str(path("/failure/type"));
public static final Lens failureCodeLens = JsObj.lens.intNum(path("/failure/code"));
public static final Lens failureMessageLens = JsObj.lens.str(path("/failure/message"));
public static final String SENT_MESSAGE_EVENT = "SENT_MESSAGE";
public static final String RECEIVED_MESSAGE_EVENT = "RECEIVED_MESSAGE";
public static final String DEPLOYED_VERTICLE = "DEPLOYED_VERTICLE";
public static final String UNDEPLOYED_VERTICLE = "UNDEPLOYED_VERTICLE";
public static final String REPLIED_RESP_EVENT = "REPLIED_RESP";
public static final String REPLIED_FAILURE_EVENT = "REPLIED_FAILURE";
public static final String RECEIVED_RESP_EVENT = "RECEIVED_RESP";
public static final String RECEIVED_FAILURE_EVENT = "RECEIVED_FAILURE";
public static final String INTERNAL_ERROR_STARTING_VERTICLE = "INTERNAL_ERROR_STARTING_VERTICLE";
public static final String INTERNAL_ERROR_PROCESSING_MESSAGE = "INTERNAL_ERROR_PROCESSING_MESSAGE";
public static final String INTERNAL_ERROR_UNDEPLOYING_VERTICLE = "INTERNAL_ERROR_UNDEPLOYING_VERTICLE";
public static final String INTERNAL_ERROR_DEPLOYING_VERTICLE = "INTERNAL_ERROR_DEPLOYING_VERTICLE";
public static final String TIMER_STARTS_EVENT = "TIMER_STARTS";
public static final String TIMER_ENDS_EVENT = "TIMER_ENDS";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy