Smartswitch
GenericPeer.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Peer"]]
4 
5 #include <Destroyable.ice>
6 #include <Peer/Company.ice>
7 #include <Peer/Variable.ice>
8 
9 module Smartswitch
10 {
11  module Peer
12  {
16  interface GenericPeer extends Destroyable
17  {
23  idempotent long getId();
24 
30  idempotent string getName() throws AccessException;
31 
37  Company* getCompany() throws AccessException;
38 
46  VariableSequence getVariables() throws AccessException;
47 
55  void insertVariable(Variable variable) throws AccessException;
56  };
57  };
58 };
This interface allows to destroy a proxy entity at the Smartswitch side.
Definition: Destroyable.ice:12
Definition: AccessException.ice:7
The interface to manipulate with the partner Company.
Definition: Company.ice:41
Thrown when a user tries perform an action which is not allowed for him.
Definition: AccessException.ice:20
Defines a pair of name-value.
Definition: Variable.ice:16
This is a generic interface to each of the peers.
Definition: GenericPeer.ice:16
sequence< Variable > VariableSequence
Definition: Variable.ice:21