导航菜单

页面标题

页面副标题

饼干视频 v4.1.0 - C0787.java 源代码

正在查看: 饼干视频 v4.1.0 应用的 C0787.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package amc.cd.p065;

import amc.cd.p060.C0689;
import org.fourthline.cling.model.message.header.InvalidHeaderException;
import org.fourthline.cling.model.message.header.UpnpHeader;

public class C0787 extends UpnpHeader<C0689> {

    public int f1570 = 1900;

    public String f1569 = "239.255.255.250";

    public C0787() {
        m9241(new C0689("239.255.255.250", 1900));
    }

    @Override
    public void mo2293(String str) throws InvalidHeaderException {
        if (!str.contains(":")) {
            this.f1569 = str;
            m9241(new C0689(str, this.f1570));
            return;
        }
        try {
            this.f1570 = Integer.valueOf(str.substring(str.indexOf(":") + 1)).intValue();
            String substring = str.substring(0, str.indexOf(":"));
            this.f1569 = substring;
            m9241(new C0689(substring, this.f1570));
        } catch (NumberFormatException e) {
            throw new InvalidHeaderException("Invalid HOST header value, can't parse port: " + str + " - " + e.getMessage());
        }
    }

    @Override
    public String mo2294() {
        return m9240().toString();
    }
}