CallOperation operation = message.findCallOperation( target, operationName );
if( operation != null ) {
return operation.getParameters();
}
} else if( type == OperationType.SET ) {
SetOperation operation = findSetOperation( message, target );
if( operation != null ) {
return operation.getProperties();
}
} else if( type == OperationType.LISTEN ) {
ListenOperation operation = findListenOperation( message, target );
if( operation != null ) {
return operation.getProperties();
}
}
return new JsonObject();
}