kr.co.hit.live.web.flex.io.amf
Class Amf0OutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
kr.co.hit.live.web.flex.io.amf.AmfOutputStream
kr.co.hit.live.web.flex.io.amf.Amf0OutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, ObjectOutput
public class Amf0OutputStream
- extends AmfOutputStream
AMF0와 AMF3 방식으로 객체들을 OutputStream으로 직렬화한다.
Object 타입은 항상 AMF3 방식으로 직렬화한다.
- Author:
- 김형도
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
amf3Out
protected Amf3OutputStream amf3Out
Amf0OutputStream
public Amf0OutputStream(OutputStream out)
reset
public void reset()
- Specified by:
reset in class AmfOutputStream
writeObject
public void writeObject(Object obj)
throws IOException
- Specified by:
writeObject in interface ObjectOutput- Specified by:
writeObject in class AmfOutputStream
- Throws:
IOException
writeNumber
protected void writeNumber(Number num)
throws IOException
- Throws:
IOException
writeDate
protected void writeDate(Date d)
throws IOException
- Throws:
IOException
writeString
protected void writeString(String s)
throws IOException
- Throws:
IOException
Copyright © 2014. All Rights Reserved.