return new PortableFactory() {
@Override
public Portable create(int classId) {
switch (classId) {
case PUBLISH:
return new PublishRequest();
case ADD_LISTENER:
return new AddMessageListenerRequest();
case REMOVE_LISTENER:
return new RemoveMessageListenerRequest();
case PORTABLE_MESSAGE: