idConverter
Modifier and Type | Method | Description |
---|---|---|
void |
add(Session s) |
Adds the given session to this manager, to be managed
|
java.lang.Iterable<Session> |
allIterable() |
Returns the sessions for all the sessions
currently managed, logging in or not, from all
hosts running.
|
java.lang.Iterable<Session> |
allIterableAllHosts() |
Returns the sessions for all the sessions
currently managed, logging in or not, from all
hosts running.
|
MOB |
findCharacterOnline(java.lang.String srchStr,
boolean exactOnly) |
Searches online characters whose sessions are managed
by this library, and returns the character mobs.
|
Session |
findCharacterSessionOnline(java.lang.String srchStr,
boolean exactOnly) |
Searches online characters whose sessions are managed
by this library, and returns the session.
|
boolean |
isSession(Session s) |
Returns whether the given session is still registered here.
|
java.util.Iterator<Session> |
localOnline() |
Returns the sessions for all the online game
characters that are on the map and playing.
|
java.lang.Iterable<Session> |
localOnlineIterable() |
Returns the sessions for all the online game
characters that are on the map and playing.
|
java.lang.Iterable<Session> |
localOnlineIterableAllHosts() |
Returns the sessions for all the online game
characters that are on the map and playing on
a host that uses the given map library.
|
void |
moveSessionToCorrectThreadGroup(Session session,
int theme) |
Determines the correct thread group for the given theme, and marks the
given session appropriately.
|
int |
numLocalOnline() |
The number of char sessions being managed here.
|
int |
numSessions() |
The number of sessions being managed here.
|
void |
remove(Session s) |
Removes the given session from this manager.
|
java.util.Iterator<Session> |
sessions() |
Returns the sessions for all the sessions
currently managed, logging in or not, from all
hosts running.
|
void |
stopSessionAtAllCosts(Session S) |
Given a session, this will attempt to stop
its running thread in every way imaginable
and remove the session from the manager.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, ID, initializeClass, name, newInstance
void stopSessionAtAllCosts(Session S)
S
- the session to stop and killSession findCharacterSessionOnline(java.lang.String srchStr, boolean exactOnly)
srchStr
- the whole or partial char nameexactOnly
- true for whole, false for partial or wholeMOB findCharacterOnline(java.lang.String srchStr, boolean exactOnly)
srchStr
- the whole or partial char nameexactOnly
- true for whole, false for partial or wholejava.util.Iterator<Session> sessions()
allIterable()
,
allIterableAllHosts()
,
localOnline()
,
localOnlineIterable()
java.lang.Iterable<Session> allIterable()
sessions()
,
allIterableAllHosts()
,
localOnline()
,
localOnlineIterableAllHosts()
,
localOnlineIterable()
java.lang.Iterable<Session> allIterableAllHosts()
sessions()
,
allIterable()
,
localOnlineIterableAllHosts()
,
localOnline()
,
localOnlineIterable()
java.util.Iterator<Session> localOnline()
sessions()
,
allIterable()
,
allIterableAllHosts()
,
localOnlineIterableAllHosts()
,
localOnlineIterable()
java.lang.Iterable<Session> localOnlineIterable()
sessions()
,
allIterable()
,
allIterableAllHosts()
,
localOnlineIterableAllHosts()
,
localOnline()
java.lang.Iterable<Session> localOnlineIterableAllHosts()
sessions()
,
allIterable()
,
allIterableAllHosts()
,
localOnline()
,
localOnlineIterable()
int numLocalOnline()
isSession(Session)
,
add(Session)
,
remove(Session)
,
numSessions()
int numSessions()
isSession(Session)
,
add(Session)
,
remove(Session)
,
numLocalOnline()
void add(Session s)
s
- the session to addisSession(Session)
,
add(Session)
,
remove(Session)
,
numSessions()
,
numLocalOnline()
void remove(Session s)
s
- the session to removeisSession(Session)
,
add(Session)
,
remove(Session)
,
numSessions()
,
numLocalOnline()
boolean isSession(Session s)
s
- the session to check foradd(Session)
,
remove(Session)
,
numSessions()
,
numLocalOnline()
void moveSessionToCorrectThreadGroup(Session session, int theme)
session
- the session to movetheme
- the theme of the group to assign it to