public class AuctionService extends AbstractService implements org.cometd.bayeux.client.ClientSessionChannel.MessageListener, org.cometd.bayeux.server.BayeuxServer.ChannelListener, org.cometd.bayeux.server.BayeuxServer.SubscriptionListener
| Modifier and Type | Field and Description |
|---|---|
static String |
AUCTION_ROOT |
_logger| Constructor and Description |
|---|
AuctionService(javax.servlet.ServletContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
bid(org.cometd.bayeux.server.ServerSession source,
String channel,
Map<String,Object> bidMap,
String messageId) |
Bidder |
bidder(org.cometd.bayeux.server.ServerSession source,
String channel,
String bidder,
String messageId) |
void |
bids(org.cometd.bayeux.server.ServerSession source,
String channel,
Map<String,Object> bidMap,
String messageId) |
List<Category> |
categories(org.cometd.bayeux.server.ServerSession source,
String channel,
String bidder,
String messageId) |
List<Item> |
category(org.cometd.bayeux.server.ServerSession source,
String channel,
Number categoryId,
String messageId) |
void |
channelAdded(org.cometd.bayeux.server.ServerChannel channel) |
void |
channelRemoved(String channelId) |
void |
configureChannel(org.cometd.bayeux.server.ConfigurableServerChannel channel) |
void |
onMessage(org.cometd.bayeux.client.ClientSessionChannel channel,
org.cometd.bayeux.Message message) |
List<Item> |
search(org.cometd.bayeux.server.ServerSession source,
String channel,
String search,
String messageId) |
void |
subscribed(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel) |
void |
unsubscribed(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel) |
addService, doInvoke, exception, getBayeux, getLocalSession, getServerSession, getThreadPool, isSeeOwnPublishes, removeService, removeService, send, setSeeOwnPublishes, setThreadPoolpublic static final String AUCTION_ROOT
public Bidder bidder(org.cometd.bayeux.server.ServerSession source, String channel, String bidder, String messageId)
public List<Category> categories(org.cometd.bayeux.server.ServerSession source, String channel, String bidder, String messageId)
public List<Item> search(org.cometd.bayeux.server.ServerSession source, String channel, String search, String messageId)
public List<Item> category(org.cometd.bayeux.server.ServerSession source, String channel, Number categoryId, String messageId)
public void bid(org.cometd.bayeux.server.ServerSession source,
String channel,
Map<String,Object> bidMap,
String messageId)
public void bids(org.cometd.bayeux.server.ServerSession source,
String channel,
Map<String,Object> bidMap,
String messageId)
public void subscribed(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel)
subscribed in interface org.cometd.bayeux.server.BayeuxServer.SubscriptionListenerpublic void unsubscribed(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel)
unsubscribed in interface org.cometd.bayeux.server.BayeuxServer.SubscriptionListenerpublic void channelAdded(org.cometd.bayeux.server.ServerChannel channel)
channelAdded in interface org.cometd.bayeux.server.BayeuxServer.ChannelListenerpublic void channelRemoved(String channelId)
channelRemoved in interface org.cometd.bayeux.server.BayeuxServer.ChannelListenerpublic void onMessage(org.cometd.bayeux.client.ClientSessionChannel channel,
org.cometd.bayeux.Message message)
onMessage in interface org.cometd.bayeux.client.ClientSessionChannel.MessageListenerpublic void configureChannel(org.cometd.bayeux.server.ConfigurableServerChannel channel)
configureChannel in interface org.cometd.bayeux.server.ConfigurableServerChannel.InitializerCopyright © 2008-2012 Dojo Foundation. All Rights Reserved.