![JAR search and dependency download from the Maven repository](/logo.png)
net.java.btrace.server.wireio.EventCommandImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of btrace-boot Show documentation
Show all versions of btrace-boot Show documentation
An essential set of binaries to be loaded by the BTrace server.
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.java.btrace.server.wireio;
import net.java.btrace.api.wireio.Command;
import net.java.btrace.api.core.Lookup;
import net.java.btrace.spi.wireio.CommandImpl;
import net.java.btrace.api.server.Session;
import net.java.btrace.wireio.commands.EventCommand;
/**
*
* @author Jaroslav Bachorik
*/
@Command(clazz=EventCommand.class)
public class EventCommandImpl extends CommandImpl {
@Override
public void execute(Lookup ctx, EventCommand cmd) {
Session s = ctx.lookup(Session.class);
s.event(cmd.getEvent());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy