⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uml建模图(chipchat).mdl

📁 ChipChat1.0——源代码以及程序用到的资源(程序入口主文件为ChipChat.java)(Eclipse3.1.2设计) UML建模图——为Rose建模图
💻 MDL
📖 第 1 页 / 共 5 页
字号:
				color      	3947580
				default_color 	TRUE)
			    quidu      	"453E197900BC"
			    anchor_loc 	1
			    nlines     	1
			    max_width  	1681
			    justify    	0
			    label      	"对TCP协议的独聊窗口进行监听,一旦收到连接请求则开通一个进程处理"
			    pctDist    	0.499758
			    height     	43
			    orientation 	0)
			line_color 	3342489
			client     	@28
			supplier   	@53
			Focus_Src  	@35
			Focus_Entry 	@54
			origin     	(233, 1607)
			terminus   	(4371, 1607)
			ordinal    	11)
		    (object InterMessView "开启进程监听端口" @88
			location   	(0, 1712)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	3947580
			    default_color 	TRUE)
			label      	(object SegLabel @89
			    Parent_View 	@88
			    location   	(4699, 1668)
			    font       	(object Font
				size       	12
				face       	"Arial"
				bold       	FALSE
				italics    	FALSE
				underline  	FALSE
				strike     	FALSE
				color      	3947580
				default_color 	TRUE)
			    quidu      	"453E19CF010A"
			    anchor_loc 	1
			    nlines     	1
			    max_width  	481
			    justify    	0
			    label      	"开启进程监听端口"
			    pctDist    	0.500000
			    height     	45
			    orientation 	0)
			line_color 	3342489
			client     	@53
			supplier   	@55
			Focus_Src  	@54
			Focus_Entry 	@57
			origin     	(4402, 1712)
			terminus   	(4997, 1712)
			ordinal    	12)
		    (object InterMessView "收到连接请求则打开一个应用程序窗口进行处理" @90
			location   	(0, 1817)
			font       	(object Font
			    size       	12
			    face       	"Arial"
			    bold       	FALSE
			    italics    	FALSE
			    underline  	FALSE
			    strike     	FALSE
			    color      	3947580
			    default_color 	TRUE)
			label      	(object SegLabel @91
			    Parent_View 	@90
			    location   	(5499, 1773)
			    font       	(object Font
				size       	12
				face       	"Arial"
				bold       	FALSE
				italics    	FALSE
				underline  	FALSE
				strike     	FALSE
				color      	3947580
				default_color 	TRUE)
			    quidu      	"453E19E5032D"
			    anchor_loc 	1
			    nlines     	1
			    max_width  	1131
			    justify    	0
			    label      	"收到连接请求则打开一个应用程序窗口进行处理"
			    pctDist    	0.500000
			    height     	45
			    orientation 	0)
			line_color 	3342489
			client     	@55
			supplier   	@58
			Focus_Src  	@57
			Focus_Entry 	@60
			origin     	(5028, 1817)
			terminus   	(5971, 1817)
			ordinal    	13)))))
    root_category 	(object Class_Category "Logical View"
	quid       	"453DF498009D"
	exportControl 	"Public"
	global     	TRUE
	subsystem  	"Component View"
	quidu      	"453DF498009F"
	logical_models 	(list unit_reference_list
	    (object Class "CATCHER"
		attributes 	(list Attribute_Set
		    (object Attribute
			tool       	"Java"
			name       	"BodyDanglingComment"
			value      	"")
		    (object Attribute
			tool       	"Java"
			name       	"GenerateFinalizer"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"GenerateStaticInitializer"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"GenerateInstanceInitializer"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"GenerateDefaultConstructor"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"ReadOnly"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"Final"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"Static"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"Strictfp"
			value      	FALSE)
		    (object Attribute
			tool       	"Java"
			name       	"GenerateFullyQualifiedExtends"
			value      	"")
		    (object Attribute
			tool       	"Java"
			name       	"GenerateFullyQualifiedImplements"
			value      	"")
		    (object Attribute
			tool       	"Java"
			name       	"GenerateCode"
			value      	TRUE))
		quid       	"453E0899036B"
		documentation 	
|线程类CATCHER,该类实现对登陆信息端口的监听,以及识别各类与登陆相关的数据包的类别的识别.
|并在收到要求应答的数据包的时候发送一个包含请求端用户名以及本机IP的数据包到组播组,此数
|据包由所有在线的终端接受,但只有用户名与包中包含用户名相同的终端对其予以显示,以此方法来
|实现对后来登陆的终端告知已经在线的用户.
|当请求应答的终端用户名与本程序用户重名时作出必要判断,实现不在本机显示重复的登陆信息.
		
		superclasses 	(list inheritance_relationship_list
		    (object Inheritance_Relationship
			attributes 	(list Attribute_Set)
			quid       	"453E089B01F4"
			supplier   	"Logical View::java::lang::Thread"
			quidu      	"453E089B012A"))
		exportControl 	"Implementation"
		operations 	(list Operations
		    (object Operation "CATCHER"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"453E089E0261"
			parameters 	(list Parameters
			    (object Parameter "socketin"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E02DE"
				type       	"MulticastSocket"
				quidu      	"453E089B03C0")
			    (object Parameter "CC"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E030D"
				type       	"ChipChat"
				quidu      	"453E089D03B2")
			    (object Parameter "name"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E030E"
				type       	"Logical View::java::lang::String")
			    (object Parameter "ui"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E030F"
				type       	"UserInfo[]"
				quidu      	"453E089E021C"))
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "run"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"453E089E035B"
			documentation 	
|run()实现对组播端口的监听,并作出反映
|
			
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "Connect"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"453E089E037A"
			documentation 	
|Connect()方法实现了对对方回应本机信息的过程,其中第一以及最后一个为无用的信息,在接收方被吸收掉
|
			
			parameters 	(list Parameters
			    (object Parameter "check"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E037B"
				type       	"Logical View::java::lang::String"))
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "Ring"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"453E089E037C"
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "processMsg"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedThrows"
				value      	"")
			    (object Attribute
				tool       	"Java"
				name       	"Abstract"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Static"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Final"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Native"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Synchronized"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"Strictfp"
				value      	FALSE)
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedArgument"
				value      	""))
			quid       	"453E089E037D"
			documentation 	
|在应用程序的登陆信息框中显示信息
|
			
			parameters 	(list Parameters
			    (object Parameter "str"
				attributes 	(list Attribute_Set
				    (object Attribute
					tool       	"Java"
					name       	"IsFinal"
					value      	"false"))
				quid       	"453E089E038A"
				type       	"Logical View::java::lang::String"))
			result     	"void"
			concurrency 	"Sequential"
			opExportControl 	"Public"
			uid        	0)
		    (object Operation "removeMsg"
			attributes 	(list Attribute_Set
			    (object Attribute
				tool       	"Java"
				name       	"GenerateFullyQualifiedReturn"
				value      	FALSE)
			    (object Attribute

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -