|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.security.UserChannelManager
Maintains an association between a channel and a user.
Constructor Summary | |
UserChannelManager()
Create a user channel manager. |
Method Summary | |
void |
connected(IInput input,
IOutput output)
Notify the connection success. |
void |
disconnected(IInput input,
IOutput output)
Notify the disconnection. |
void |
register(IInput input,
IUser user)
Register an input-user association. |
void |
register(ILoginObserver observer)
Register a login observer. |
void |
unregister(IUser user)
Unregister a user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserChannelManager()
Method Detail |
public final void register(ILoginObserver observer)
observer
- the observer to registerpublic final void register(IInput input, IUser user)
register
in interface IUserManager
input
- the input to registeruser
- the user to registerpublic final void unregister(IUser user)
unregister
in interface IUserManager
user
- the user to unregisterpublic final void connected(IInput input, IOutput output)
connected
in interface IChannelObserver
input
- the channel inputoutput
- the channel outputpublic final void disconnected(IInput input, IOutput output)
disconnected
in interface IChannelObserver
input
- the channel inputoutput
- the channel output
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |