MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / start

Method start

java/com/jcraft/jsch/ChannelShell.java:41–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 public void start() throws JSchException{
42 Session _session=getSession();
43 try{
44 sendRequests();
45
46 Request request=new RequestShell();
47 request.request(_session, this);
48 }
49 catch(Exception e){
50 if(e instanceof JSchException) throw (JSchException)e;
51 if(e instanceof Throwable)
52 throw new JSchException("ChannelShell", (Throwable)e);
53 throw new JSchException("ChannelShell");
54 }
55
56 if(io.in!=null){
57 thread=new Thread(this);
58 thread.setName("Shell for "+_session.host);
59 if(_session.daemon_thread){
60 thread.setDaemon(_session.daemon_thread);
61 }
62 thread.start();
63 }
64 }
65
66 void init() throws JSchException {
67 io.setInputStream(getSession().in);

Callers

nothing calls this directly

Calls 4

requestMethod · 0.95
sendRequestsMethod · 0.80
getSessionMethod · 0.45
setNameMethod · 0.45

Tested by

no test coverage detected