Package org.cometd.documentation.oort
Class OortServiceDocs.NameEditService
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.cometd.oort.OortService<Boolean,OortService.ServerContext>
org.cometd.documentation.oort.OortServiceDocs.NameEditService
- All Implemented Interfaces:
EventListener,org.cometd.bayeux.Bayeux.BayeuxListener,org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener,org.cometd.bayeux.server.ServerChannel.MessageListener,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- OortServiceDocs
@Service("name_edit")
public class OortServiceDocs.NameEditService
extends OortService<Boolean,OortService.ServerContext>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.oort.OortService
OortService.Request, OortService.Result<U extends Object>, OortService.ServerContextNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener
org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener.WeakNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()voideditName(org.cometd.bayeux.server.ServerSession remote, org.cometd.bayeux.server.ServerMessage message) protected OortService.Result<Boolean>onForward(OortService.Request request) protected voidonForwardFailed(Object failure, OortService.ServerContext context) protected voidonForwardSucceeded(Boolean result, OortService.ServerContext context) Methods inherited from class org.cometd.oort.OortService
doStart, doStop, forward, getLocalSession, getName, getOort, getTimeout, onForwardMessage, onMessage, onResultMessage, setTimeout, toStringMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cometd.bayeux.server.ServerChannel.MessageListener
onMessage
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NameEditService
-
-
Method Details
-
construct
- Throws:
Exception
-
destroy
- Throws:
Exception
-
editName
@Listener("/service/edit") public void editName(org.cometd.bayeux.server.ServerSession remote, org.cometd.bayeux.server.ServerMessage message) -
onForward
- Specified by:
onForwardin classOortService<Boolean,OortService.ServerContext>
-
onForwardSucceeded
- Specified by:
onForwardSucceededin classOortService<Boolean,OortService.ServerContext>
-
onForwardFailed
- Specified by:
onForwardFailedin classOortService<Boolean,OortService.ServerContext>
-