diff --git a/src/core/src/main/java/org/tio/core/Node.java b/src/core/src/main/java/org/tio/core/Node.java index 89f7c8be..b9126e5c 100644 --- a/src/core/src/main/java/org/tio/core/Node.java +++ b/src/core/src/main/java/org/tio/core/Node.java @@ -205,6 +205,7 @@ recommend that a file or class name and description of purpose be included on public class Node implements Comparable { private String ip; private int port; + private Byte ssl = 1; public Node(String ip, int port) { super(); @@ -267,4 +268,18 @@ public String toString() { return builder.toString(); } + /** + * @return the ssl + */ + public Byte getSsl() { + return ssl; + } + + /** + * @param ssl the ssl to set + */ + public void setSsl(Byte ssl) { + this.ssl = ssl; + } + }