org.red5.io.object.RecordSet Java Examples

The following examples show how to use org.red5.io.object.RecordSet. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Output.java    From red5-io with Apache License 2.0 6 votes vote down vote up
/** {@inheritDoc} */
@Override
public void writeRecordSet(RecordSet recordset) {
    if (!checkWriteReference(recordset)) {
        storeReference(recordset);
        // Write out start of object marker
        buf.put(AMF.TYPE_CLASS_OBJECT);
        putString("RecordSet");
        // Serialize
        Map<String, Object> info = recordset.serialize();
        // Write out serverInfo key
        putString("serverInfo");
        // Serialize
        Serializer.serialize(this, info);
        // Write out end of object marker
        buf.put(AMF.END_OF_OBJECT_SEQUENCE);
    }
}
 
Example #2
Source File: Output.java    From red5-io with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override
public void writeRecordSet(RecordSet recordset) {
    writeString("Not implemented.");
}