From f73e833eed05de8244c4556770f26be5a5f6d5ce Mon Sep 17 00:00:00 2001 From: jackdaw Date: Thu, 17 Nov 2016 11:15:22 +0900 Subject: [PATCH] . --- .../com/loafle/bridge/discoveryport/DiscoveryPort.java | 7 +++++++ 1 file changed, 7 insertions(+) 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; }