kr.co.hit.live.web.flex.io.amf
Class AmfPacket
java.lang.Object
kr.co.hit.live.web.flex.io.amf.AmfPacket
- All Implemented Interfaces:
- Serializable
public class AmfPacket
- extends Object
- implements Serializable
Flex가 사용하는 메시지 헤더와 바디 목록을 담아둔다.
참조: AMF0 Specification - 4. Usages of AMF 0
- Author:
- 김형도
- See Also:
- Serialized Form
AMF0
public static final int AMF0
- See Also:
- Constant Field Values
AMF3
public static final int AMF3
- See Also:
- Constant Field Values
ON_RESULT
public static final String ON_RESULT
- See Also:
- Constant Field Values
ON_STATUS
public static final String ON_STATUS
- See Also:
- Constant Field Values
AmfPacket
public AmfPacket()
addMessage
public void addMessage(AmfMessage msg)
getNextMessage
public AmfMessage getNextMessage()
hasNextMessage
public boolean hasNextMessage()
serialize
public void serialize(AmfOutputStream amfOut)
throws IOException
- Throws:
IOException
deserialize
public void deserialize(AmfInputStream amfIn)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.