All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gnu.io.rfc2217.TransmitBinaryOptionHandler Maven / Gradle / Ivy

Go to download

A fork of the RXTX library with a focus on ease of use and embeddability in other libraries.

There is a newer version: 5.2.1
Show newest version

/*
 * Copyright (C) 2010 Archie L. Cobbs. All rights reserved.
 *
 * $Id: TransmitBinaryOptionHandler.java 46 2011-10-16 23:06:39Z archie.cobbs $
 */

package gnu.io.rfc2217;

import org.apache.commons.net.telnet.TelnetOptionHandler;

/**
 * Handler for the telnet {@code TRANSMIT-BINARY} option defined by RFC 856.
 *
 * @see RFC 856
 */
public class TransmitBinaryOptionHandler extends TelnetOptionHandler {

    public static final int TRANSMIT_BINARY_OPTION = 0;

    public TransmitBinaryOptionHandler(boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote) {
        super(TRANSMIT_BINARY_OPTION, initlocal, initremote, acceptlocal, acceptremote);
    }

    @Override
    public int[] answerSubnegotiation(int[] data, int length) {
        return null;
    }

    @Override
    public int[] startSubnegotiationLocal() {
        return null;
    }

    @Override
    public int[] startSubnegotiationRemote() {
        return null;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy