read.me and the diagram is added
This commit is contained in:
		
							
								
								
									
										26
									
								
								event-queue/etc/event-queue.urm.puml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								event-queue/etc/event-queue.urm.puml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| @startuml | ||||
| package com.iluwatar.event.queue { | ||||
|   class App { | ||||
|     + App() | ||||
|     + getAudioStream(filePath : String) : AudioInputStream {static} | ||||
|     + main(args : String[]) {static} | ||||
|   } | ||||
|   class Audio { | ||||
|     - MAX_PENDING : int {static} | ||||
|     - headIndex : int {static} | ||||
|     - pendingAudio : PlayMessage[] {static} | ||||
|     - tailIndex : int {static} | ||||
|     - updateThread : Thread {static} | ||||
|     + Audio() | ||||
|     + init() {static} | ||||
|     + playSound(stream : AudioInputStream, volume : float) {static} | ||||
|     + stopService() {static} | ||||
|     + update() {static} | ||||
|   } | ||||
|   class PlayMessage { | ||||
|     ~ stream : AudioInputStream | ||||
|     ~ volume : float | ||||
|     + PlayMessage() | ||||
|   } | ||||
| } | ||||
| @enduml | ||||
							
								
								
									
										
											BIN
										
									
								
								event-queue/etc/model.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								event-queue/etc/model.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 11 KiB | 
		Reference in New Issue
	
	Block a user