Javadoc/comments cleanup

This commit is contained in:
nathan 2017-09-25 23:23:10 +02:00
parent 6c97567d04
commit 50f98e834c
4 changed files with 25 additions and 8 deletions

View File

@ -34,14 +34,14 @@
*/ */
package dorkbox.network.pipeline; package dorkbox.network.pipeline;
import com.esotericsoftware.kryo.KryoException;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import io.netty.buffer.ByteBuf;
import java.io.DataInput; import java.io.DataInput;
import java.io.InputStream; import java.io.InputStream;
import com.esotericsoftware.kryo.KryoException;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import io.netty.buffer.ByteBuf;
/** /**
* An {@link InputStream} which reads data from a {@link ByteBuf}. * An {@link InputStream} which reads data from a {@link ByteBuf}.

View File

@ -1,7 +1,22 @@
/*
* Copyright 2017 dorkbox, llc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dorkbox.network.rmi; package dorkbox.network.rmi;
/** /**
* * Callback for creating remote RMI classes
*/ */
public public
interface RemoteObjectCallback<Iface> { interface RemoteObjectCallback<Iface> {

View File

@ -41,7 +41,8 @@ import java.io.IOException;
* RemoteObject#setResponseTimeout(int) response timeout}. * RemoteObject#setResponseTimeout(int) response timeout}.
* *
* @author Nathan Sweet <misc@n4te.com> * @author Nathan Sweet <misc@n4te.com>
* @see dorkbox.network.connection.Connection#createRemoteObject(Class) * @see dorkbox.network.connection.Connection#getRemoteObject(int, RemoteObjectCallback)
* @see dorkbox.network.connection.Connection#getRemoteObject(Class, RemoteObjectCallback)
*/ */
public public
class TimeoutException extends IOException { class TimeoutException extends IOException {

View File

@ -15,6 +15,8 @@
*/ */
package dorkbox.network.util; package dorkbox.network.util;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.KryoException;
import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.Serializer;
import dorkbox.network.connection.KryoExtra; import dorkbox.network.connection.KryoExtra;
@ -65,7 +67,6 @@ interface RmiSerializationManager extends SerializationManager {
@Override @Override
RmiSerializationManager register(Class<?> clazz, Serializer<?> serializer, int id); RmiSerializationManager register(Class<?> clazz, Serializer<?> serializer, int id);
/** /**
* Necessary to register classes for RMI, only called once when the RMI bridge is created. * Necessary to register classes for RMI, only called once when the RMI bridge is created.
* *