public class TelnetEncoder extends Object
Constructor and Description |
---|
TelnetEncoder(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
encode(byte[] buf,
int off,
int len) |
void |
encodeFunction(int function) |
void |
encodeOptionNegotiation(int type,
TelnetOption option) |
void |
encodeOptionSubnegotiation(TelnetOption option,
byte[] buf,
int off,
int len) |
public static final int CR
public static final int LF
public TelnetEncoder(OutputStream out)
public void encode(byte[] buf, int off, int len) throws IOException
IOException
public void encodeFunction(int function) throws IOException
IOException
public void encodeOptionNegotiation(int type, TelnetOption option) throws IOException
IOException
public void encodeOptionSubnegotiation(TelnetOption option, byte[] buf, int off, int len) throws IOException
IOException
Copyright © 2016. All rights reserved.