diff --git a/src/main/java/com/loafle/bridge/discoveryport/DiscoveryPort.java b/src/main/java/com/loafle/bridge/discoveryport/DiscoveryPort.java index 3b0b905..28e7f7d 100644 --- a/src/main/java/com/loafle/bridge/discoveryport/DiscoveryPort.java +++ b/src/main/java/com/loafle/bridge/discoveryport/DiscoveryPort.java @@ -59,6 +59,13 @@ public class DiscoveryPort { this.portNumber = portNumber; } + public DiscoveryPort(DiscoveryHost host, PortType type, short portNumber) { + this.host = host; + this.portType = type; + this.portNumber = portNumber; + } + + public long getId() { return id; }