Android Open Source - ShareToIRC I R C Message






From Project

Back to project page ShareToIRC.

License

The source code is released under:

MIT License

If you think the Android project ShareToIRC 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.rrs_apps.android.share_to_irc;
//w w  w  . ja v a 2 s .c o m
import org.parceler.Parcel;
import org.parceler.ParcelConstructor;

@Parcel
public class IRCMessage {
    protected String text;
    protected String address;
    protected int port;
    protected String nick;
    protected int useSsl;
    protected String password;
    protected String[] channels;

    @ParcelConstructor
    public IRCMessage(String text, String address, int port, String nick, String password, String[] channels) {
        this.text = text;
        this.address = address;
        this.port = port;
        this.nick = nick;
        this.password = password;
        this.channels = channels;
    }

    public String getText() {
        return text;
    }

    public String getAddress() {
        return address;
    }

    public int getPort() {
        return port;
    }

    public String getNick() {
        return nick;
    }

    public String getPassword() {
        return password;
    }

    public String[] getChannels() {
        return channels;
    }

    public void setUsesSsl(boolean usesSsl) {
        this.useSsl = usesSsl ? 1 : 0;
    }

    public boolean usesSsl() {
        return (this.useSsl == 0) ? false : true;
    }
}




Java Source Code List

com.rrs_apps.android.auth.AccountAuthenticatorFragmentActivity.java
com.rrs_apps.android.share_to_irc.IRCMessage.java
com.rrs_apps.android.share_to_irc.SendTextAndFinishListener.java
com.rrs_apps.android.share_to_irc.ShareTextActivity.java
com.rrs_apps.android.share_to_irc.ShareTextService.java
com.rrs_apps.android.share_to_irc.account.CreateIrcAccountActivity.java
com.rrs_apps.android.share_to_irc.account.EditIrcAccountActivity.java
com.rrs_apps.android.share_to_irc.account.IrcAccountEditorFragment.java
com.rrs_apps.android.share_to_irc.account.IrcAccountHandlerService.java
com.rrs_apps.android.share_to_irc.account.IrcAccountHandler.java
com.rrs_apps.android.share_to_irc.account.IrcAccountListFragment.java
com.rrs_apps.android.share_to_irc.account.IrcAccountPickerActivity.java
com.rrs_apps.android.share_to_irc.account.ListIrcAccountsActivity.java