projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expose lots of constructors and accessors
[jFCPlib.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
fcp
/
GetNode.java
diff --git
a/src/main/java/net/pterodactylus/fcp/GetNode.java
b/src/main/java/net/pterodactylus/fcp/GetNode.java
index
3419860
..
0a84acf
100644
(file)
--- a/
src/main/java/net/pterodactylus/fcp/GetNode.java
+++ b/
src/main/java/net/pterodactylus/fcp/GetNode.java
@@
-49,7
+49,14
@@
public class GetNode extends FcpMessage {
* <code>true</code> to include volatile data in the noderef
*/
public GetNode(Boolean giveOpennetRef, Boolean withPrivate, Boolean withVolatile) {
* <code>true</code> to include volatile data in the noderef
*/
public GetNode(Boolean giveOpennetRef, Boolean withPrivate, Boolean withVolatile) {
+ this(null, giveOpennetRef, withPrivate, withVolatile);
+ }
+
+ public GetNode(String identifier, Boolean giveOpennetRef, Boolean withPrivate, Boolean withVolatile) {
super("GetNode");
super("GetNode");
+ if (identifier != null) {
+ setField("Identifier", identifier);
+ }
if (giveOpennetRef != null) {
setField("GiveOpennetRef", String.valueOf(giveOpennetRef));
}
if (giveOpennetRef != null) {
setField("GiveOpennetRef", String.valueOf(giveOpennetRef));
}