juiz_core 0.0.9

Core library for JUIZ application. This package is not required if you want to build juiz functional module.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::prelude::*;
use juiz_sdk::connections::ConnectionManifest;

pub trait ConnectionFactory {
    fn create_source_connection(
        &self,
        source_process: ProcessPtr,
        connection_manifest: ConnectionManifest,
    ) -> Box<dyn SourceConnection>;

    fn create_destination_connection(
        &self,
        destination_process: ProcessPtr,
        connection_manifest: ConnectionManifest,
    ) -> Box<dyn DestinationConnection>;
}