// Always pass in the view transform to the Cell's server state
state.addComponentServerState(new ViewComponentServerState(viewTransform));
// Send the message to the server
WonderlandSession session = manager.getPrimarySession();
CellEditChannelConnection connection = (CellEditChannelConnection)
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.