uml update
This commit is contained in:
parent
3b09910ead
commit
cb5f92db0c
1 changed files with 9 additions and 20 deletions
29
diagram.puml
29
diagram.puml
|
|
@ -138,28 +138,17 @@ package "Command" <<namespace>> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
' ========================
|
|
||||||
' CLASS: PollManager
|
|
||||||
' ========================
|
|
||||||
class PollManager {
|
|
||||||
- _fds : vector<pollfd>
|
|
||||||
- _fd_events : map<int, short>
|
|
||||||
|
|
||||||
+ addFd(fd : int, events : short) : void
|
|
||||||
+ removeFd(fd : int) : void
|
|
||||||
+ updateFd(fd : int, events : short) : void
|
|
||||||
+ pollEvents(timeout : int) : int
|
|
||||||
+ getFds() : vector<pollfd>
|
|
||||||
}
|
|
||||||
|
|
||||||
' ========================
|
' ========================
|
||||||
' RELATIONS
|
' RELATIONS
|
||||||
' ========================
|
' ========================
|
||||||
|
"main()" --> Server : creates
|
||||||
Server "1" o-- "*" Client : _clients
|
Server "1" *-- "1" PollManager : _poll
|
||||||
Client "1" o-- "*" Channel : _channels
|
PollManager "1" o-- "*" User : _users
|
||||||
Channel "1" *-- "1" Client : _owner
|
User "1" o-- "*" Channel : _channels
|
||||||
Channel "1" o-- "*" Client : _operators
|
Channel "1" *-- "1" User : _owner
|
||||||
main ..> Parser : uses
|
Channel "1" o-- "*" User : _operators
|
||||||
|
PollManager --> CommandDispatcher.CommandDispatcher : calls
|
||||||
|
CommandDispatcher.CommandDispatcher --> Command : dispatches
|
||||||
|
CommandDispatcher.CommandDispatcher --> User : parses commands
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
Loading…
Add table
Add a link
Reference in a new issue