}else if (Bayeux.META_CONNECT.equals(channel)) {
return new MetaConnectRequest(tomcatBayeux,event,msg);
}else if (Bayeux.META_DISCONNECT.equals(channel)) {
return new MetaDisconnectRequest(tomcatBayeux,event,msg);
}else if (Bayeux.META_SUBSCRIBE.equals(channel)) {
return new MetaSubscribeRequest(tomcatBayeux,event,msg);
}else if (Bayeux.META_UNSUBSCRIBE.equals(channel)) {
return new MetaUnsubscribeRequest(tomcatBayeux,event,msg);
} else {
return new PublishRequest(tomcatBayeux,event,msg);
}