* Made sync system deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
b9870753fc
commit
cbbb261828
@ -40,6 +40,7 @@ import com.jme3.util.IntMap;
|
|||||||
import com.jme3.util.IntMap.Entry;
|
import com.jme3.util.IntMap.Entry;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public class ClientSyncService extends MessageAdapter implements Service {
|
public class ClientSyncService extends MessageAdapter implements Service {
|
||||||
|
|
||||||
private static final ByteBuffer BUFFER = ByteBuffer.wrap(new byte[10000]);
|
private static final ByteBuffer BUFFER = ByteBuffer.wrap(new byte[10000]);
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
package com.jme3.network.sync;
|
package com.jme3.network.sync;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public interface EntityFactory {
|
public interface EntityFactory {
|
||||||
public SyncEntity createEntity(Class<? extends SyncEntity> entityType);
|
public SyncEntity createEntity(Class<? extends SyncEntity> entityType);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.jme3.network.sync;
|
package com.jme3.network.sync;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public final class EntitySyncInfo {
|
public final class EntitySyncInfo {
|
||||||
|
|
||||||
public static final byte TYPE_NEW = 0x1,
|
public static final byte TYPE_NEW = 0x1,
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
package com.jme3.network.sync;
|
package com.jme3.network.sync;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public class MovingAverage {
|
public class MovingAverage {
|
||||||
|
|
||||||
private long[] samples;
|
private long[] samples;
|
||||||
|
@ -43,6 +43,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public class ServerSyncService extends ConnectionAdapter implements Service {
|
public class ServerSyncService extends ConnectionAdapter implements Service {
|
||||||
|
|
||||||
private static final ByteBuffer BUFFER = ByteBuffer.wrap(new byte[10000]);
|
private static final ByteBuffer BUFFER = ByteBuffer.wrap(new byte[10000]);
|
||||||
|
@ -37,6 +37,7 @@ import java.lang.annotation.Retention;
|
|||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target(ElementType.FIELD)
|
@Target(ElementType.FIELD)
|
||||||
public @interface Sync {
|
public @interface Sync {
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
package com.jme3.network.sync;
|
package com.jme3.network.sync;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public interface SyncEntity {
|
public interface SyncEntity {
|
||||||
|
|
||||||
public void onRemoteCreate();
|
public void onRemoteCreate();
|
||||||
|
@ -35,6 +35,7 @@ package com.jme3.network.sync;
|
|||||||
import com.jme3.network.message.Message;
|
import com.jme3.network.message.Message;
|
||||||
import com.jme3.network.serializing.Serializable;
|
import com.jme3.network.serializing.Serializable;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
@Serializable
|
@Serializable
|
||||||
public class SyncMessage extends Message {
|
public class SyncMessage extends Message {
|
||||||
public int heartbeat;
|
public int heartbeat;
|
||||||
|
@ -41,6 +41,7 @@ import java.nio.ByteBuffer;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
class SyncSerializer {
|
class SyncSerializer {
|
||||||
|
|
||||||
static class SyncFieldInfo {
|
static class SyncFieldInfo {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user