@Override public void request() throws TransportException { final Service active = trans.getService(); if (!equals(active)) if (name.equals(active.getName())) trans.setService(this); else trans.reqService(this); }
@Override protected void doKeepAlive() throws TransportException, ConnectionException { // Ensure the service is set... This means that the key exchange is done and the connection is up. if (conn.equals(conn.getTransport().getService())) { emptyQueue(queue); checkMaxReached(queue); queue.add(conn.sendGlobalRequest("keepalive@openssh.com", true, new byte[0])); } }
@Override public void request() throws TransportException { final Service active = trans.getService(); if (!equals(active)) if (name.equals(active.getName())) trans.setService(this); else trans.reqService(this); }
@Override public void request() throws TransportException { final Service active = trans.getService(); if (!equals(active)) if (name.equals(active.getName())) trans.setService(this); else trans.reqService(this); }
@Override protected void doKeepAlive() throws TransportException, ConnectionException { // Ensure the service is set... This means that the key exchange is done and the connection is up. if (conn.equals(conn.getTransport().getService())) { emptyQueue(queue); checkMaxReached(queue); queue.add(conn.sendGlobalRequest("keepalive@openssh.com", true, new byte[0])); } }