Code polish
This commit is contained in:
parent
b9759ae071
commit
839ff7e897
|
@ -21,7 +21,7 @@ import com.esotericsoftware.kryo.Serializer;
|
|||
|
||||
import dorkbox.network.connection.KryoExtra;
|
||||
import dorkbox.network.rmi.CachedMethod;
|
||||
import dorkbox.util.SerializationManager;
|
||||
import dorkbox.util.serialization.SerializationManager;
|
||||
|
||||
public
|
||||
interface RmiSerializationManager extends SerializationManager {
|
||||
|
@ -96,11 +96,11 @@ interface RmiSerializationManager extends SerializationManager {
|
|||
void returnKryo(KryoExtra kryo);
|
||||
|
||||
/**
|
||||
* Gets the RMI interface based on the specified implementation
|
||||
* Gets the RMI implementation based on the specified interface
|
||||
*
|
||||
* @return the corresponding interface
|
||||
* @return the corresponding implementation
|
||||
*/
|
||||
Class<?> getRmiIface(Class<?> implementation);
|
||||
Class<?> getRmiImpl(Class<?> iFace);
|
||||
|
||||
/**
|
||||
* Enable remote method invocation (RMI) for this connection. There is additional overhead to using RMI.
|
||||
|
|
|
@ -804,12 +804,6 @@ class Serialization implements CryptoSerializationManager, RmiSerializationManag
|
|||
return methodCache.get(classId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public
|
||||
boolean isRmiEnabled() {
|
||||
return usesRmi;
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized
|
||||
boolean initialized() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user