Package org.webtide.demo.auction
Class AuctionService
java.lang.Object
org.cometd.server.AbstractService
org.webtide.demo.auction.AuctionService
- All Implemented Interfaces:
EventListener,org.cometd.bayeux.Bayeux.BayeuxListener,org.cometd.bayeux.client.ClientSessionChannel.ClientSessionChannelListener,org.cometd.bayeux.client.ClientSessionChannel.MessageListener,org.cometd.bayeux.server.BayeuxServer.BayeuxServerListener,org.cometd.bayeux.server.BayeuxServer.ChannelListener,org.cometd.bayeux.server.BayeuxServer.SubscriptionListener,org.cometd.bayeux.server.ConfigurableServerChannel.Initializer
public class AuctionService
extends AbstractService
implements org.cometd.bayeux.client.ClientSessionChannel.MessageListener, org.cometd.bayeux.server.BayeuxServer.ChannelListener, org.cometd.bayeux.server.BayeuxServer.SubscriptionListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.Initializer
org.cometd.bayeux.server.ConfigurableServerChannel.Initializer.Persistent -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbid(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) bidder(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) voidbids(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) categories(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) category(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) voidchannelAdded(org.cometd.bayeux.server.ServerChannel channel) voidconfigureChannel(org.cometd.bayeux.server.ConfigurableServerChannel channel) voidonMessage(org.cometd.bayeux.client.ClientSessionChannel channel, org.cometd.bayeux.Message message) search(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) voidsubscribed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message) Methods inherited from class org.cometd.server.AbstractService
addService, doInvoke, exception, getBayeux, getLocalSession, getName, getServerSession, getThreadPool, isSeeOwnPublishes, removeService, removeService, send, setSeeOwnPublishes, setThreadPoolMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.bayeux.server.BayeuxServer.ChannelListener
channelRemovedMethods inherited from interface org.cometd.bayeux.server.BayeuxServer.SubscriptionListener
unsubscribed
-
Field Details
-
AUCTION_ROOT
- See Also:
-
-
Constructor Details
-
AuctionService
public AuctionService(jakarta.servlet.ServletContext context)
-
-
Method Details
-
bids
public void bids(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) -
bid
public void bid(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) -
bidder
public Bidder bidder(org.cometd.bayeux.server.ServerSession source, org.cometd.bayeux.server.ServerMessage message) -
search
-
category
-
categories
-
subscribed
public void subscribed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message) - Specified by:
subscribedin interfaceorg.cometd.bayeux.server.BayeuxServer.SubscriptionListener
-
channelAdded
public void channelAdded(org.cometd.bayeux.server.ServerChannel channel) - Specified by:
channelAddedin interfaceorg.cometd.bayeux.server.BayeuxServer.ChannelListener
-
onMessage
public void onMessage(org.cometd.bayeux.client.ClientSessionChannel channel, org.cometd.bayeux.Message message) - Specified by:
onMessagein interfaceorg.cometd.bayeux.client.ClientSessionChannel.MessageListener
-
configureChannel
public void configureChannel(org.cometd.bayeux.server.ConfigurableServerChannel channel) - Specified by:
configureChannelin interfaceorg.cometd.bayeux.server.ConfigurableServerChannel.Initializer
-