org.cometd.oort
Class Seti
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.cometd.oort.Seti
- All Implemented Interfaces:
- LifeCycle
public class Seti
- extends AbstractLifeCycle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SETI_ATTRIBUTE
public static final String SETI_ATTRIBUTE
- See Also:
- Constant Field Values
SETI_SHARD
public static final String SETI_SHARD
- See Also:
- Constant Field Values
Seti
public Seti(Oort oort,
String shardId)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class AbstractLifeCycle
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class AbstractLifeCycle
- Throws:
Exception
associate
public void associate(String userId,
org.cometd.Client client)
disassociate
public void disassociate(String userId)
sendMessage
public void sendMessage(String toUser,
String toChannel,
Object message)
sendMessage
public void sendMessage(Collection<String> toUsers,
String toChannel,
Object message)
userId2Shard
protected org.cometd.oort.Seti.ShardLocation userId2Shard(String userId)
receive
protected void receive(org.cometd.Client from,
org.cometd.Client to,
org.cometd.Message msg)
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.