public interface SimpUserRegistry| 修飾子と型 | メソッドと説明 |
|---|---|
SetSE<SimpSubscription> | findSubscriptions(SimpSubscriptionMatcher matcher) 指定されたマッチャーでサブスクリプションを検索します。 |
SimpUser | getUser(StringSE userName) 指定された名前のユーザーを取得します。 |
int | getUserCount() 接続されているすべてのユーザーの数を返します。 |
SetSE<SimpUser> | getUsers() 接続されているすべてのユーザーのスナップショットを返します。 |
@Nullable SimpUser getUser(StringSE userName)
userName - 検索するユーザーの名前 null SetSE<SimpUser> getUsers()
返されるセットはコピーであり、それ以上の変更は反映されません。
int getUserCount()
SetSE<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher)
matcher - 使用するマッチャー