session.getConnection(CellEditConnectionType.CLIENT_TYPE);
CellCreateMessage msg = new CellCreateMessage(parentCellID, state);
// connection.send(msg);
ResponseMessage response = null;
try {
response = connection.sendAndWait(msg);
} catch (InterruptedException ex) {
Logger.getLogger(CellUtils.class.getName()).log(Level.SEVERE, null, ex);
}
if(response == null || !(response instanceof CellCreatedMessage)) {
//handle here.