?? uml建模圖(chipchat).mdl
字號:
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 + -