juiz_core 0.0.5

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
use juiz_sdk::connections::ConnectionManifest;
use crate::prelude::*;




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>;
}