com.jme3.network.serializing.serializers
クラス LongSerializer

java.lang.Object
  上位を拡張 com.jme3.network.serializing.Serializer
      上位を拡張 com.jme3.network.serializing.serializers.LongSerializer

public class LongSerializer
extends Serializer

The Long serializer.


コンストラクタの概要
LongSerializer()
           
 
メソッドの概要
 java.lang.Long readObject(java.nio.ByteBuffer data, java.lang.Class c)
          Read an object from the buffer, effectively deserializing it.
 void writeObject(java.nio.ByteBuffer buffer, java.lang.Object object)
          Write an object to the buffer, effectively serializing it.
 
クラス com.jme3.network.serializing.Serializer から継承されたメソッド
getExactSerializer, getExactSerializerRegistration, getSerializer, getSerializer, getSerializerRegistration, getSerializerRegistration, initialize, readClass, readClassAndObject, registerClass, registerClass, registerClass, registerPackage, setStrictRegistration, writeClass, writeClassAndObject
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LongSerializer

public LongSerializer()
メソッドの詳細

readObject

public java.lang.Long readObject(java.nio.ByteBuffer data,
                                 java.lang.Class c)
                          throws java.io.IOException
クラス Serializer の記述:
Read an object from the buffer, effectively deserializing it.

定義:
クラス Serializer 内の readObject
パラメータ:
data - The buffer to read from.
c - The class of the object.
戻り値:
The object read.
例外:
java.io.IOException - If deserializing fails.

writeObject

public void writeObject(java.nio.ByteBuffer buffer,
                        java.lang.Object object)
                 throws java.io.IOException
クラス Serializer の記述:
Write an object to the buffer, effectively serializing it.

定義:
クラス Serializer 内の writeObject
パラメータ:
buffer - The buffer to write to.
object - The object to serialize.
例外:
java.io.IOException - If serializing fails.