private routing method
This commit is contained in:
parent
a6ed7818da
commit
45a8851e2a
@ -74,7 +74,8 @@ class Routing {
|
|||||||
/**
|
/**
|
||||||
Handle incomming packages that involve route discovery.
|
Handle incomming packages that involve route discovery.
|
||||||
**/
|
**/
|
||||||
public function handleRoutePackage(pack:Package, interf:INetworkInterface):Void {
|
@:allow(kernel.net.Net)
|
||||||
|
private function handleRoutePackage(pack:Package, interf:INetworkInterface):Void {
|
||||||
addPossibleRoute(pack.fromID,interf,0,pack.fromID);
|
addPossibleRoute(pack.fromID,interf,0,pack.fromID);
|
||||||
|
|
||||||
var shouldRespond: Bool = switch pack.type {
|
var shouldRespond: Bool = switch pack.type {
|
||||||
|
Loading…
Reference in New Issue
Block a user