NX01: Removed some javadoc warnings.
This commit is contained in:
parent
5fcb5289c8
commit
960740d52c
42 changed files with 54 additions and 13 deletions
|
|
@ -38,6 +38,7 @@ import org.eclipse.jetty.websocket.client.impl.JettyClientUpgradeRequest;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// Jetty wire client.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireClient implements WireClient {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClientEndpoint;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// Jetty wire client end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireClientEndpoint implements WireClientEndpoint {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import org.eclipse.jetty.websocket.api.WebSocketListener;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// Jetty wire client handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireClientHandler implements WebSocketListener {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ import org.eclipse.jetty.websocket.server.JettyWebSocketServerContainer;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireServer;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// Jetty wire server.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireServer implements WireServer {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import love.distributedrebirth.nx01.no2all.wire.WireServer;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireServerEndpoint;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// Jetty wire server end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireServerEndpoint implements WireServerEndpoint {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import org.eclipse.jetty.websocket.server.JettyWebSocketCreator;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// Jetty wire server end point creator.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireServerEndpointCreator implements JettyWebSocketCreator {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import org.eclipse.jetty.websocket.api.WebSocketListener;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// Jetty wire server handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class JettyWireServerHandler implements WebSocketListener {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import org.eclipse.jetty.websocket.api.Session;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerSocket;
|
||||
|
||||
/// Jetty wire server socket.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class JettyWireServerSocket implements WireServerSocket {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ import java.util.concurrent.ExecutionException;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// JRE wire client.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class JreWireClient implements WireClient {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClientEndpoint;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// JRE wire client end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class JreWireClientEndpoint implements WireClientEndpoint {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import java.util.concurrent.CompletionStage;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// JRE wire client handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class JreWireClientHandler implements WebSocket.Listener {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import java.util.Map;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// OJW wire client.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireClient implements WireClient {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import love.distributedrebirth.nx01.no2all.wire.WireClient;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireClientEndpoint;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// OJW wire client end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireClientEndpoint implements WireClientEndpoint {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ import org.java_websocket.handshake.ServerHandshake;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireClientHandler;
|
||||
|
||||
/// OJW wire client handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireClientHandler extends WebSocketClient {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import java.nio.ByteBuffer;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireServer;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// OJW wire server.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireServer implements WireServer {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import love.distributedrebirth.nx01.no2all.wire.WireServer;
|
|||
import love.distributedrebirth.nx01.no2all.wire.WireServerEndpoint;
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// OJW wire server end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireServerEndpoint implements WireServerEndpoint {
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ import org.java_websocket.server.WebSocketServer;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerHandler;
|
||||
|
||||
/// OJW wire server handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class OjwWireServerHandler extends WebSocketServer {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import org.java_websocket.WebSocket;
|
|||
|
||||
import love.distributedrebirth.nx01.no2all.wire.WireServerSocket;
|
||||
|
||||
/// OJW wire server socket.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class OjwWireServerSocket implements WireServerSocket {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire client.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireClient {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.no2all.wire;
|
||||
|
||||
/// Wire client end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireClientEndpoint {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire client handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireClientHandler {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire server.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireServer {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.no2all.wire;
|
||||
|
||||
/// Wire server end point.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireServerEndpoint {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire server handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireServerHandler {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire server socket.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireServerSocket {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.no2all.wire.fetch;
|
||||
|
||||
/// Wire fetch runnable task interface wrapper.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireFetch extends Runnable {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.no2all.wire.fetch;
|
||||
|
||||
/// Wire fetch factory.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireFetchFactory {
|
||||
|
|
|
|||
|
|
@ -37,25 +37,26 @@ import java.nio.ByteBuffer;
|
|||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
/// Wire fetch factory default.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class WireFetchFactoryDefault implements WireFetchFactory {
|
||||
|
||||
|
||||
@Override
|
||||
public WireFetch buildFetcher(WireFetchResource resource, WireFetchHandler handler) {
|
||||
return new HttpDownloader(resource, handler);
|
||||
}
|
||||
|
||||
|
||||
static protected final class HttpDownloader implements WireFetch {
|
||||
|
||||
|
||||
private final WireFetchResource resource;
|
||||
private final WireFetchHandler handler;
|
||||
|
||||
|
||||
protected HttpDownloader(WireFetchResource resource, WireFetchHandler handler) {
|
||||
this.resource = resource;
|
||||
this.handler = handler;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
|
|
@ -77,7 +78,7 @@ public final class WireFetchFactoryDefault implements WireFetchFactory {
|
|||
handler.onError(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private InputStream openInputStream(URL url, Map<String, String> args, int timeoutMs, int redirectLimit) throws IOException {
|
||||
HttpURLConnection con = (HttpURLConnection) url.openConnection();
|
||||
con.setConnectTimeout(timeoutMs);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.no2all.wire.fetch;
|
|||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/// Wire fetch handler.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public interface WireFetchHandler {
|
||||
|
|
|
|||
|
|
@ -31,36 +31,36 @@ import java.net.URI;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/// Wire fetch resource from the connected inter-webs.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class WireFetchResource {
|
||||
|
||||
private final Map<String, String> headers = new HashMap<>();
|
||||
private final URI uri;
|
||||
private int timeoutMs = 10;
|
||||
|
||||
|
||||
public WireFetchResource(URI uri) {
|
||||
this.uri = uri;
|
||||
this.timeoutMs = 10;
|
||||
}
|
||||
|
||||
|
||||
public URI getUrId() {
|
||||
return uri;
|
||||
}
|
||||
|
||||
|
||||
public int getTimeoutMs() {
|
||||
return timeoutMs;
|
||||
}
|
||||
|
||||
|
||||
public Map<String, String> getHeaders() {
|
||||
return headers;
|
||||
}
|
||||
|
||||
|
||||
public WireFetchResource withTimeoutMs(int timeoutMs) {
|
||||
this.timeoutMs = timeoutMs;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public WireFetchResource withHeader(String key, String value) {
|
||||
headers.put(key, value);
|
||||
return this;
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ import love.distributedrebirth.nx01.warp.fault.FaultBeanInterrupted;
|
|||
import love.distributedrebirth.nx01.warp.fault.FaultStreamDelegate;
|
||||
import love.distributedrebirth.nx01.warp.fault.FaultStreamInterrupted;
|
||||
|
||||
/// Local 'npm drives' hyper file system support.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class HyperLocalFileSystem implements HyperFileSystem {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea.hyper.local.drive;
|
||||
|
||||
/// Local drives argument command structural text.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public enum HyperLocalDriveCommand {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/// Local drive info result.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class HyperLocalDriveInfo extends HyperLocalDriveResult {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea.hyper.local.drive;
|
||||
|
||||
/// Drive info information line markers.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public enum HyperLocalDriveInfoLine {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea.hyper.local.drive;
|
||||
|
||||
/// Local drive result.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class HyperLocalDriveResult {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea.hyper.local.drive;
|
||||
|
||||
/// Resulting drive identifier of touched hyper drive.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public final class HyperLocalDriveTouch extends HyperLocalDriveResult {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea;
|
||||
|
||||
/// The water ocean.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class WaterOcean {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ package love.distributedrebirth.nx01.redsea;
|
|||
import org.x4o.xml.X4ODriver;
|
||||
import org.x4o.xml.X4ODriverManager;
|
||||
|
||||
/// The X4O water ocean file system XML driver.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class WaterOceanFSDriver extends X4ODriver<WaterOcean> {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ package love.distributedrebirth.nx01.redsea;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/// The water sea.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class WaterSea {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea;
|
||||
|
||||
/// A water sea chain.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class WaterSeaChain {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
package love.distributedrebirth.nx01.redsea;
|
||||
|
||||
/// A water sea magic mime type information unit.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class WaterSeaMagic {
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ import org.x4o.xml.lang.task.X4OLanguageTask;
|
|||
*
|
||||
* @author Willem Cazander
|
||||
* @version 1.0 Aug 11, 2005
|
||||
* @param <T> The root element object type.
|
||||
*/
|
||||
public abstract class X4ODriver<T> {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue