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 TelnetOptionHandlerstart in class AbstractOptionHandlerIOExceptionpublic void onWILL()
throws IOException
onWILL in interface TelnetOptionHandleronWILL in class AbstractOptionHandlerIOExceptionpublic void onWONT()
throws IOException
onWONT in interface TelnetOptionHandleronWONT in class AbstractOptionHandlerIOExceptionpublic void onDO()
throws IOException
onDO in interface TelnetOptionHandleronDO in class AbstractOptionHandlerIOExceptionpublic void onDONT()
throws IOException
onDONT in interface TelnetOptionHandleronDONT in class AbstractOptionHandlerIOExceptionpublic void onSubnegotiation(byte[] data,
int off,
int len)
throws IOException
onSubnegotiation in interface TelnetOptionHandleronSubnegotiation in class AbstractOptionHandlerIOExceptionCopyright © 2016. All rights reserved.