1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
//! Classic ACL facade
use crate::link::acl::classic::AclManager;
module! {
facade_module,
providers {
ClassicAclFacadeService => provide_facade,
}
}
#[provides]
async fn provide_facade(acl: AclManager) -> ClassicAclFacadeService {
ClassicAclFacadeService { acl }
}
pub struct ClassicAclFacadeService {
acl: AclManager,
}
impl AclManagerFacade for ClassicAclFacadeService {
fn create_connection(
&mut self,
_ctx: RpcContext<'_>,
mut _data: ConnectionMsg,
_sink: ServerStreamingSink<ConnectionEvent>,
) {
unimplemented!();
}
fn cancel_connection(
&mut self,
_ctx: RpcContext<'_>,
mut _data: ConnectionMsg,
_sink: UnarySink<Empty>,
) {
unimplemented!();
}
fn disconnect(&mut self, _ctx: RpcContext<'_>, mut _data: HandleMsg, _sink: UnarySink<Empty>) {
unimplemented!();
}
fn disconnect(&mut self, _ctx: RpcContext<'_>, mut _data: PolicyMsg, _sink: UnarySink<Empty>) {
unimplemented!();
}
fn authentication_requested(
&mut self,
_ctx: RpcContext<'_>,
mut _data: HandleMsg,
_sink: UnarySink<Empty>,
) {
unimplemented!();
}
fn connection_command(
&mut self,
_ctx: RpcContext<'_>,
mut _data: ConnectionCommandMsg,
_sink: UnarySink<Empty>,
) {
unimplemented!();
}
fn switch_role(&mut self, _ctx: RpcContext<'_>, mut _data: RoleMsg, _sink: UnarySink<Empty>) {
unimplemented!();
}
fn send_acl_data(&mut self, _ctx: RpcContext<'_>, mut _data: AclData, _sink: UnarySink<Empty>) {
unimplemented!();
}
fn fetch_acl_data(
&mut self,
_ctx: RpcContext<'_>,
mut _data: HandleMsg,
_sink: ServerStreamingSink<AclData>,
) {
unimplemented!();
}
fn fetch_incoming_connection(
&mut self,
_ctx: RpcContext<'_>,
mut _data: Empty,
_sink: ServerStreamingSink<ConnectionEvent>,
) {
unimplemented!();
}
}
|