|
@@ -22,13 +22,14 @@
|
22
|
22
|
|
23
|
23
|
package com.dmdirc.parser.interfaces;
|
24
|
24
|
|
|
25
|
+import com.dmdirc.parser.common.AwayState;
|
|
26
|
+
|
25
|
27
|
import java.util.Map;
|
26
|
28
|
|
27
|
29
|
/**
|
28
|
30
|
* Holds information about a client, and provides various methods for
|
29
|
31
|
* interacting with that client.
|
30
|
32
|
*
|
31
|
|
- * @author chris
|
32
|
33
|
* @since 0.6.3m2
|
33
|
34
|
*/
|
34
|
35
|
public interface ClientInfo {
|
|
@@ -68,6 +69,13 @@ public interface ClientInfo {
|
68
|
69
|
*/
|
69
|
70
|
int getChannelCount();
|
70
|
71
|
|
|
72
|
+ /**
|
|
73
|
+ * Get the away state of a user.
|
|
74
|
+ *
|
|
75
|
+ * @return AwayState of the user.
|
|
76
|
+ */
|
|
77
|
+ AwayState getAwayState();
|
|
78
|
+
|
71
|
79
|
/**
|
72
|
80
|
* Retrieves a {@link Map} which can be used to store arbitrary data
|
73
|
81
|
* about the client.
|