→ calais007:沒有implement serializable吧,工作後都寫C++,有點忘了 12/20 22:55
→ m13m13m:no...我不是要傳自己想做的物件 我是要傳 socket soc; 12/21 00:40
→ m13m13m:的soc object 12/21 00:42
→ qrtt1:辦不到 12/21 02:02
http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html
Serializability of a class is enabled by the class implementing the
java.io.Serializable interface. Classes that do not implement this interface
will not have any of their state serialized or deserialized.
All subtypes of
a serializable class are themselves serializable. The serialization interface
has no methods or fields and serves only to identify the semantics of being
serializable.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.161.126.96
→ calais007:不懂為什麼要傳socket =.=,很神密的需求 12/24 18:50