throws InterruptedException
{
Set<Action> out = new LinkedHashSet<Action>();
// request the permissions from the server
PermissionsRequestMessage prm = new PermissionsRequestMessage(cellID);
ResponseMessage rm = channel.sendAndWait(new PermissionsRequestMessage());
if (rm instanceof PermissionsResponseMessage) {
for (ActionDTO a : ((PermissionsResponseMessage) rm).getGranted()) {
out.add(a.getAction());
}
}