package com.jscape.inet.ssh.protocol.v2.marshaling;

import com.jscape.inet.ssh.protocol.v2.messages.SshMsgUserAuthRequest;
import com.jscape.inet.ssh.protocol.v2.messages.SshMsgUserAuthRequestNone;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author Alex Usun
 */
public class SshMsgUserAuthRequestNoneCodec
        implements SshMsgUserAuthRequestCodec.MethodCodec {

    @Override
    public SshMsgUserAuthRequest read(InputStream in, String username, String serviceName)
            throws IOException {
        return new SshMsgUserAuthRequestNone(username, serviceName);
    }

    @Override
    public void write(SshMsgUserAuthRequest value, OutputStream out)
            throws IOException {
    }
}
