类图
2022-02-22 01:29:28 0 举报
6666666666
作者其他创作
大纲/内容
UploadHandler
+handler()+channelRead()+exceptionCaught()
LoginHandler
+handler()
RegisterHandler
User
-account:String-password:String-authorities:String[]-connectCode:String-userKey:UserKey
SimpleChannelInboundHandler
DisconnectHandler
Server
loginUser:User[]
+listerToClient()
UserDataBase
+getUser(String account):User+addUser(User user)
DES
-key:String
+:DES()+getKey():String
UserKey
-privateKeyRSA:String-publicKeyRSA:String-keyDES:String
+encodeUseRSA(String content);+decodeUseRSA(String content);+encodeUseDES(String content);+decodeUseDES(String content);+UserKey()
CommandHandler
RSA
-publicKey:String-privateKey:String
+RSA()+getPublicKey():String+getPrivateKey():String
Admin
+getUserAuthority(String account):UserAuthority+setUserAuthority(UserAuthority userAuth)
Client
-userKey:UserKey
+login()+register()+sendCommand()+upload()+download()+disconnect()+window()
DownloadHandler
0 条评论
回复 删除
下一页