Skip to content

Commit d19e2e7

Browse files
committed
add NetGraphMsgHandlerConstructor
1 parent ef075ba commit d19e2e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// NetGraphMsgHandlerConstructor.swift
3+
// DirectBindingsApp
4+
//
5+
// Created by Arik Sosman on 9/24/21.
6+
//
7+
8+
import Foundation
9+
10+
class NetGraphMsgHandlerConstructor {
11+
public static func initNetGraphMsgHandler(networkGraph: NetworkGraph, chainAccess: Access?, logger: Logger) -> NetGraphMsgHandler {
12+
return NetGraphMsgHandler(network_graph: networkGraph.dangle(), chain_access: Option_AccessZ(value: chainAccess), logger: logger)
13+
}
14+
}

0 commit comments

Comments
 (0)