This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is the base directory where all user will be segregated (like: "chroot") | |
BASE_DIR = new File(System.properties.baseDir ?: "/tmp").canonicalPath; | |
// This map maintains the session state for every connection. | |
// for this telnet server the state will be limited to the current directory | |
_connections = [:]; | |
// Connection id counter | |
_cids = 0; |
NewerOlder