Smartswitch
QueueMember.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Telephony"]]
4 
5 #include <Config.ice>
6 
7 #ifdef CONFIG_CALL_CENTER
8 
9 #include <Destroyable.ice>
10 #include <AccessException.ice>
11 #include <Peer/User.ice>
12 
13 module Smartswitch
14 {
15  module Telephony
16  {
20  interface QueueMember extends Destroyable
21  {
27  idempotent bool isEnabled() throws AccessException;
28 
34  idempotent void setEnabled(bool enabled) throws AccessException;
35 
43  idempotent int getPenalty() throws AccessException;
44 
52  idempotent void setPenalty(int penalty) throws AccessException;
53 
59  Peer::User* getUser() throws AccessException;
60 
64  void remove() throws AccessException;
65  };
66  };
67 };
68 
69 #endif
This interface allows to destroy a proxy entity at the Smartswitch side.
Definition: Destroyable.ice:12
This interface allows to manipulate a QueueMember.
Definition: QueueMember.ice:20
Definition: AccessException.ice:7
Thrown when a user tries perform an action which is not allowed for him.
Definition: AccessException.ice:20
This interface allows to manipulate a User.
Definition: User.ice:45