Android Open Source - TuxRemote Server






From Project

Back to project page TuxRemote.

License

The source code is released under:

GNU General Public License

If you think the Android project TuxRemote listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.tuxremote.app;
//from w w w .  ja v  a 2 s .  c o m
public class Server {
    private String name = null;
    private String ip = null;
    private String userId = null;
    private String password = null;
    private boolean available = false;

    /**
     * Constructor
     * @param n   : server name for friendly usage.
     * @param ad  : ip address.
     * @param uid : user id.
     * @param pw  : user password.
     */
    public Server(String n, String ad, String uid, String pw){
        name = n; ip = ad; userId = uid; password = pw;
    }

    public void setName(String n){
        name = n;
    }

    public String getName() {
        return name;
    }

    public void setIp(String ad){
        ip = ad;
    }

    public String getIp() {
        return ip;
    }

    public void setUserId(String n){
        userId = n;
    }

    public String getUserId(){
        return userId;
    }

    public void setPassword(String pw){
        password = pw;
    }

    public String getPassword() {
        return password;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }
}




Java Source Code List

com.tuxremote.app.AppFragment.java
com.tuxremote.app.AppListViewAdapter.java
com.tuxremote.app.App.java
com.tuxremote.app.CmdListViewAdapter.java
com.tuxremote.app.Command.java
com.tuxremote.app.ConfigXML.java
com.tuxremote.app.ConnectFragment.java
com.tuxremote.app.EmptyFragment.java
com.tuxremote.app.FileSelectorDialog.java
com.tuxremote.app.Global.java
com.tuxremote.app.MainActivity.java
com.tuxremote.app.NavigationDrawerFragment.java
com.tuxremote.app.Preference.java
com.tuxremote.app.SSHAsyncTask.java
com.tuxremote.app.Server.java
com.tuxremote.app.TuxRemoteUtils.java
com.tuxremote.app.TuxeRemoteSsh.BashReturn.java
com.tuxremote.app.TuxeRemoteSsh.MyUserInfo.java
com.tuxremote.app.TuxeRemoteSsh.SshSession.java