You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

SSHSession.java 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.educoder.bridge.model;
  2. import com.jcraft.jsch.ChannelShell;
  3. import org.springframework.web.socket.WebSocketSession;
  4. import java.io.OutputStream;
  5. public class SSHSession {
  6. private WebSocketSession webSocketSession;
  7. private OutputStream outputStream;
  8. private ChannelShell channel;
  9. private SSHInfo SSHInfo;
  10. public SSHInfo getSSHInfo() {
  11. return SSHInfo;
  12. }
  13. public void setSSHInfo(SSHInfo SSHInfo) {
  14. this.SSHInfo = SSHInfo;
  15. }
  16. public ChannelShell getChannel() {
  17. return channel;
  18. }
  19. public void setChannel(ChannelShell channel) {
  20. this.channel = channel;
  21. }
  22. public WebSocketSession getWebSocketSession() {
  23. return webSocketSession;
  24. }
  25. public void setWebSocketSession(WebSocketSession webSocketSession) {
  26. this.webSocketSession = webSocketSession;
  27. }
  28. public OutputStream getOutputStream() {
  29. return outputStream;
  30. }
  31. public void setOutputStream(OutputStream outputStream) {
  32. this.outputStream = outputStream;
  33. }
  34. }

No Description

Contributors (1)