diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-02 13:25:57 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-02 13:25:57 +0000 |
commit | 492cd66e272f6899e06c7b3f94a8f7991e9353b0 (patch) | |
tree | 9c477e1916af8c02e1cbd36144ff90099575999e /EssentialsXMPP/src | |
parent | 50a287af39c4e9b9f82928a4baa67e5a0d596ccd (diff) | |
download | Essentials-492cd66e272f6899e06c7b3f94a8f7991e9353b0.tar Essentials-492cd66e272f6899e06c7b3f94a8f7991e9353b0.tar.gz Essentials-492cd66e272f6899e06c7b3f94a8f7991e9353b0.tar.lz Essentials-492cd66e272f6899e06c7b3f94a8f7991e9353b0.tar.xz Essentials-492cd66e272f6899e06c7b3f94a8f7991e9353b0.zip |
Missing file for EssentialsXMPP
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1566 e251c2fe-e539-e718-e476-b85c1f46cddb
Diffstat (limited to 'EssentialsXMPP/src')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java new file mode 100644 index 000000000..8716d6b1b --- /dev/null +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/IEssentialsXMPP.java @@ -0,0 +1,24 @@ +package com.earth2me.essentials.xmpp; + +import java.util.List; +import org.bukkit.entity.Player; + + +public interface IEssentialsXMPP +{ + + String getAddress(final Player user); + + String getAddress(final String name); + + List<String> getSpyUsers(); + + void sendMessage(final Player user, final String message); + + void sendMessage(final String address, final String message); + + void setAddress(final Player user, final String address) throws Exception; + + boolean toggleSpy(final Player user) throws Exception; + +} |