1 19 20 package com.sslexplorer.tunnels; 21 22 import com.sslexplorer.boot.HostService; 23 import com.sslexplorer.policyframework.Resource; 24 25 32 public interface Tunnel extends Resource { 33 34 41 public int getType(); 42 43 48 public boolean isAutoStart(); 49 50 57 public String getTransport(); 58 59 65 public String getUsername(); 66 67 72 public int getSourcePort(); 73 74 79 public String getSourceInterface(); 80 81 86 public HostService getDestination(); 87 88 95 public void setType(int tunnelType); 96 97 102 public void setAutoStart(boolean autoStart); 103 104 111 public void setTransport(String transport); 112 113 118 public void setSourcePort(int sourcePort); 119 120 public void setSourceInterface(String sourceInterface); 121 122 127 public void setDestination(HostService destination); 128 129 } | Popular Tags |