if (!(event instanceof DataAwareItemEvent)) {
throw new IllegalArgumentException("Expecting: DataAwareItemEvent, Found: "
+ event.getClass().getSimpleName());
}
DataAwareItemEvent dataAwareItemEvent = (DataAwareItemEvent) event;
Data item = dataAwareItemEvent.getItemData();
PortableItemEvent portableItemEvent = new PortableItemEvent(item, event.getEventType(),
event.getMember().getUuid());
endpoint.sendEvent(portableItemEvent, getCallId());
}
}