This commit is contained in:
地平线
2015-08-31 12:52:41 +08:00
parent ea69085b57
commit 77aef57b19
3 changed files with 4 additions and 5 deletions

View File

@@ -119,8 +119,4 @@ public final class NodeHttpServer extends NodeServer {
if (sb != null && sb.length() > 0) logger.log(Level.FINE, sb.toString());
}
@Override
public boolean isSNCP() {
return false;
}
}

View File

@@ -356,7 +356,9 @@ public abstract class NodeServer {
public abstract InetSocketAddress getSocketAddress();
public abstract boolean isSNCP();
public boolean isSNCP() {
return false;
}
public InetSocketAddress getSncpAddress() {
return sncpAddress;

View File

@@ -70,4 +70,5 @@ public final class NodeSncpServer extends NodeServer {
protected ClassFilter<Servlet> createServletClassFilter() {
return null;
}
}