.
This commit is contained in:
parent
ac999f6525
commit
f73e833eed
|
@ -59,6 +59,13 @@ public class DiscoveryPort {
|
||||||
this.portNumber = portNumber;
|
this.portNumber = portNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DiscoveryPort(DiscoveryHost host, PortType type, short portNumber) {
|
||||||
|
this.host = host;
|
||||||
|
this.portType = type;
|
||||||
|
this.portNumber = portNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public long getId() {
|
public long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user