/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.transport.SsgConnector
 *  com.l7tech.util.Charsets
 *  com.l7tech.util.FileUtils$Saver
 */
package com.l7tech.server;

import com.l7tech.gateway.common.transport.SsgConnector;
import com.l7tech.server.PcApiConnectorActivationListener;
import com.l7tech.util.Charsets;
import com.l7tech.util.FileUtils;
import java.io.FileOutputStream;
import java.io.IOException;

class aw
implements FileUtils.Saver {
    final SsgConnector val$connector;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    aw(PcApiConnectorActivationListener pcApiConnectorActivationListener, SsgConnector ssgConnector) {
        this.val$connector = ssgConnector;
    }

    public void doSave(FileOutputStream fileOutputStream) throws IOException {
        fileOutputStream.write(Integer.toString(this.val$connector.getPort()).getBytes(Charsets.UTF8));
    }
}

