|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjtge.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 register
public final void register(IInput input,
IUser user)
register in interface IUserManagerinput - the input to registeruser - the user to registerpublic final void unregister(IUser user)
unregister in interface IUserManageruser - the user to unregister
public final void connected(IInput input,
IOutput output)
connected in interface IChannelObserverinput - the channel inputoutput - the channel output
public final void disconnected(IInput input,
IOutput output)
disconnected in interface IChannelObserverinput - the channel inputoutput - the channel output
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||