public class DefaultOptionHandler extends AbstractOptionHandler
on, option, ready, telnetOutputStream
Constructor and Description |
---|
DefaultOptionHandler(TelnetOption option) |
Modifier and Type | Method and Description |
---|---|
void |
onDO() |
void |
onDONT() |
void |
onSubnegotiation(byte[] data,
int off,
int len) |
void |
onWILL() |
void |
onWONT() |
void |
start(TelnetOutputStream telnetOutputStream) |
public DefaultOptionHandler(TelnetOption option)
public void start(TelnetOutputStream telnetOutputStream) throws IOException
start
in interface TelnetOptionHandler
start
in class AbstractOptionHandler
IOException
public void onWILL() throws IOException
onWILL
in interface TelnetOptionHandler
onWILL
in class AbstractOptionHandler
IOException
public void onWONT() throws IOException
onWONT
in interface TelnetOptionHandler
onWONT
in class AbstractOptionHandler
IOException
public void onDO() throws IOException
onDO
in interface TelnetOptionHandler
onDO
in class AbstractOptionHandler
IOException
public void onDONT() throws IOException
onDONT
in interface TelnetOptionHandler
onDONT
in class AbstractOptionHandler
IOException
public void onSubnegotiation(byte[] data, int off, int len) throws IOException
onSubnegotiation
in interface TelnetOptionHandler
onSubnegotiation
in class AbstractOptionHandler
IOException
Copyright © 2016. All rights reserved.