}
public void onChannelOpen(byte[] data) {
if (incomingConnection != null) {
try {
input = new IOStreamConnector(getInputStream(), incomingConnection.getOutputStream());
output = new IOStreamConnector(incomingConnection.getInputStream(), getOutputStream());
} catch (IOException ex) {
close();
}
}
}