@Service(value="name_edit") public class OortServiceDocs.NameEditService extends OortService<Boolean,OortService.ServerContext>
OortService.Request, OortService.Result<U>, OortService.ServerContext
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Constructor and Description |
---|
NameEditService(Oort oort) |
Modifier and Type | Method and Description |
---|---|
void |
construct() |
void |
destroy() |
void |
editName(org.cometd.bayeux.server.ServerSession remote,
org.cometd.bayeux.server.ServerMessage message) |
protected OortService.Result<Boolean> |
onForward(OortService.Request request) |
protected void |
onForwardFailed(Object failure,
OortService.ServerContext context) |
protected void |
onForwardSucceeded(Boolean result,
OortService.ServerContext context) |
doStart, doStop, forward, getLocalSession, getName, getOort, getTimeout, onForwardMessage, onMessage, onResultMessage, setTimeout, toString
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
public static final String NAME
public NameEditService(Oort oort)
@PostConstruct public void construct() throws Exception
Exception
@PreDestroy public void destroy() throws Exception
Exception
@Listener(value="/service/edit") public void editName(org.cometd.bayeux.server.ServerSession remote, org.cometd.bayeux.server.ServerMessage message)
protected OortService.Result<Boolean> onForward(OortService.Request request)
onForward
in class OortService<Boolean,OortService.ServerContext>
protected void onForwardSucceeded(Boolean result, OortService.ServerContext context)
onForwardSucceeded
in class OortService<Boolean,OortService.ServerContext>
protected void onForwardFailed(Object failure, OortService.ServerContext context)
onForwardFailed
in class OortService<Boolean,OortService.ServerContext>
Copyright © 2008–2023 The CometD Project. All rights reserved.