}
@Override
protected void doStart() throws Exception
{
BayeuxServer bayeux = _oort.getBayeuxServer();
_session.handshake();
bayeux.createChannelIfAbsent(SETI_ALL_CHANNEL).getReference().setPersistent(true);
_oort.observeChannel(SETI_ALL_CHANNEL);
_session.getChannel(SETI_ALL_CHANNEL).subscribe(new ClientSessionChannel.MessageListener()
{
public void onMessage(ClientSessionChannel channel, Message message)
{
receiveBroadcast(message);
}
});
String setiChannel = generateSetiChannel(_setiId);
bayeux.createChannelIfAbsent(setiChannel).getReference().setPersistent(true);
_session.getChannel(setiChannel).subscribe(new ClientSessionChannel.MessageListener()
{
public void onMessage(ClientSessionChannel channel, Message message)
{
receiveDirect(message);