Вверх ↑
Ответов: 1841
Рейтинг: 369
#1: 2012-07-24 19:18:22 ЛС | профиль | цитата
mmmmm, нет, я на работе;)
------------ Дoбавленo в 19.18:
Фух, я дома!
Вот собственно схемка:

Add(MultiElementEx,7652017,557,238)
{
@Hint=#31:Модуль MultiThreads_Checker_1.0|
Mode=1
link(OnResult,492515:doAdd,[])
link(End,3306489:In,[])
link(get_ip_port,6487186:Var,[])
AddHint(42,-55,184,13,@Hint)
}
BEGIN_SDK
Add(EditMultiEx,9746293,21,21)
{
WorkCount=#5:##add|9:##hdelete|
EventCount=#8:OnResult|3:End|
VarCount=#7:##count|13:##eventHandle|
DataCount=#11:get_ip_port|0:|
Width=923
Height=410
VOffset=80
HOffset=140
Point(##add)
Point(##hdelete)
Point(##count)
Point(##eventHandle)
link(##add,12340182:doWork,[])
}
Add(TCP_Client,13330691,644,345)
{
link(onRead,5366312:doSearch,[])
link(IP,5164727:getVar,[])
link(Data,4312742:Text,[])
link(Port,15287335:getVar,[])
}
Add(LineBreakEx,1738529,218,245)
{
Caption="get_ip_port"
}
Add(Hub,15798467,182,245)
{
link(onEvent1,1738529:doWork,[])
link(onEvent2,10102029:doCompare,[(207,258)(207,326)])
}
Add(MultiStrPart,9752501,419,84)
{
Char=":"
link(Str,8039361:Var,[])
}
Add(LineBreakEx,15429690,426,126)
{
Caption="port"
Type=3
link(_Data,9752501:Part2,[])
}
Add(LineBreakEx,16153019,419,141)
{
Caption="ip"
Type=3
link(_Data,9752501:Part1,[])
}
Add(LineBreakEx,15287335,658,321)
{
Caption="port"
Type=2
}
Add(LineBreakEx,5164727,644,305)
{
Caption="ip"
Type=2
}
Add(InfoTip,13689480,259,28)
{
Info=#29:Запрашиваем следующий ip:port|
Width=253
Height=151
}
Add(BlockFind,5366312,691,345)
{
IncludeBlock=1
StartBlock="

"
EndBlock="

"
link(onSearch,6345573:doEvent1,[])
}
Add(FormatStr,4149251,775,352)
{
Mask="%1 (%2)"
link(onFString,6281593:doWork,[])
link(Str1,15237795:getVar,[])
}
Add(LineBreakEx,6281593,818,352)
{
Caption="Result"
}
Add(LineBreakEx,8666620,822,101)
{
Caption="Result"
Type=1
link(OnEvent,15049631:doSafeMode,[])
}
Add(LineBreakEx,9312087,282,84)
{
Caption="get_ip_port"
Type=1
link(OnEvent,6667049:doSafeMode,[])
}
Add(LineBreakEx,15237795,775,327)
{
Caption="ip"
Type=2
}
Add(Hub,6345573,737,345)
{
OutCount=3
link(onEvent1,13561791:doWork,[(763,351)(763,317)])
link(onEvent2,4149251:doString,[])
link(onEvent3,16737024:doWork,[(763,365)(763,391)])
}
Add(LineBreakEx,7307885,91,245)
{
Caption="StartCheck"
Type=1
link(OnEvent,15798467:doEvent1,[])
}
Add(LineBreakEx,12340182,40,101)
{
Caption="StartCheck"
}
Add(LineBreakEx,533048,580,337)
{
Caption="Open"
Type=1
link(OnEvent,13330691:doOpen,[(635,343)(635,351)])
}
Add(LineBreakEx,6694598,580,352)
{
Caption="Close"
Type=1
link(OnEvent,13330691:doClose,[])
}
Add(LineBreakEx,7271617,581,367)
{
Caption="Send"
Type=1
link(OnEvent,13330691:doSend,[(635,373)(635,365)])
}
Add(LineBreakEx,11493035,446,371)
{
Caption="Send"
}
Add(LineBreakEx,16663807,446,341)
{
Caption="Close"
}
Add(LineBreakEx,10870351,446,356)
{
Caption="Open"
}
Add(InfoTip,8078676,525,28)
{
Info=#7:TimeOut|
Width=288
Height=123
}
Add(LineBreakEx,6082736,544,88)
{
Caption="StartTO"
Type=1
link(OnEvent,6708612:doTimer,[])
}
Add(LineBreakEx,15510067,544,104)
{
Caption="StopTO"
Type=1
link(OnEvent,6708612:doStop,[(609,110)(609,101)])
}
Add(FormatStr,7614002,702,61)
{
DataCount=1
Mask="%1 (TimeOut: 3000 ms)"
link(onFString,10169014:doWork,[])
link(Str1,10236095:getVar,[])
}
Add(LineBreakEx,10169014,749,61)
{
Caption="Result"
}
Add(LineBreakEx,10236095,702,36)
{
Caption="ip"
Type=2
}
Add(LineBreakEx,9409585,446,326)
{
Caption="StartTO"
}
Add(LineBreakEx,13561791,775,311)
{
Caption="StopTO"
}
Add(LineBreakEx,16194856,701,95)
{
Caption="StartCheck"
}
Add(Hub,15252091,666,88)
{
link(onEvent1,7614002:doString,[(691,94)(691,67)])
link(onEvent2,16194856:doWork,[])
}
Add(LineBreakEx,16737024,775,385)
{
Caption="StartCheck"
}
Add(Hub,3691273,404,327)
{
OutCount=5
link(onEvent1,3069769:doWork,[(432,333)(432,317)])
link(onEvent2,9409585:doWork,[(432,340)(432,332)])
link(onEvent3,16663807:doWork,[])
link(onEvent4,10870351:doWork,[(432,354)(432,362)])
link(onEvent5,11493035:doWork,[(432,361)(432,377)])
}
Add(Thread,12698561,352,327)
{
Delay=1
FastStop=0
BusyEvent=1
link(onExec,3691273:doEvent1,[])
}
Add(LineBreakEx,3069769,445,311)
{
Caption="StopTO"
}
Add(If_else,10102029,218,320)
{
link(onTrue,9711684:doEvent1,[(263,326)(263,296)])
link(onFalse,12698561:doStart,[])
link(Op1,4258410:getVar,[])
link(Op2,14198906:Value,[])
}
Add(Memory,14198906,225,277)
{
}
Add(LineBreak,7590476,161,31)
{
Caption="get_ip_port"
Type=1
link(Data,9746293:get_ip_port,[])
Primary=[8039361,258,27]
}
Add(LineBreakEx,4258410,218,260)
{
Caption="ip"
Type=2
}
Add(Hub,9711684,276,290)
{
link(onEvent1,15690209:doWork,[(297,296)(297,292)])
link(onEvent2,6687971:doWork,[(297,303)(297,308)])
}
Add(LineBreakEx,15690209,304,286)
{
Caption="End"
}
Add(LineBreakEx,47105,876,135)
{
Caption="End"
Type=1
link(OnEvent,9746293:End,[(929,141)(929,114)])
}
Add(LineBreakEx,12762906,260,334)
{
Caption="StopCheck"
Type=1
link(OnEvent,12698561:doStop,[])
}
Add(LineBreakEx,6687971,304,302)
{
Caption="StopCheck"
}
Add(SafeMode,6667049,372,84)
{
Name="checker_get_ip_port"
link(onSafeMode,9752501:doSplit,[])
}
Add(SafeMode,15049631,884,101)
{
Name="checker_result"
link(onSafeMode,9746293:OnResult,[])
}
Add(VisualStrings,4312742,651,238)
{
Lines=#20:GET /ip.php HTTP/1.0|21:Host: tools.hiasm.com|17:Connection: Close|0:|0:|
Width=151
Height=60
}
Add(Timer,6708612,618,88)
{
Interval=3000
Enable=1
AutoStop=1
link(onTimer,15252091:doEvent1,[])
AddHint(-9,37,39,13,Interval)
}
END_SDK
Add(MainForm,11326563,350,35)
{
Width=431
Height=338
Caption=""
Position=1
}
Add(Button,13777211,447,238)
{
Left=165
Top=265
Width=185
Height=30
Caption="Проверить"
link(onClick,11304990:doFor,[])
}
Add(Edit,12430023,504,194)
{
Left=60
Top=270
Text="5"
}
Add(Label,6950492,350,119)
{
Left=115
Top=275
Width=47
Height=17
Caption="Потоков"
}
Add(For,11304990,497,238)
{
Start=1
End=5
link(onEvent,7652017:##add,[])
link(End,12430023:Text,[])
}
Add(LineBreak,14589092,495,125)
{
Caption="get_ip_port"
Type=1
link(Data,8737633:GetData,[])
Primary=[6487186,62,85]
}
Add(TCP_Server,5234581,350,77)
{
Port=5
}
Add(EventFromData,8737633,495,83)
{
link(onEvent,10645816:doData,[])
}
Add(Timer,6989260,210,35)
{
Interval=100
link(onTimer,3105876:doData,[])
}
Add(FormatStr,13623212,301,35)
{
DataCount=1
Mask="Прокси чекер 1.0; Активных модулей: %1;"
link(onFString,11326563:doCaption,[])
}
Add(LineBreakEx,5700589,557,289)
{
Caption="CountMTCheck"
Type=3
link(_Data,7652017:##count,[])
}
Add(LineBreakEx,14012912,256,8)
{
Caption="CountMTCheck"
Type=2
}
Add(ChangeMon,3105876,256,35)
{
link(onData,13623212:doString,[])
link(Data,14012912:getVar,[])
}
Add(LineBreak,5459329,450,287)
{
Caption="End"
link(Out,16276923:doPush,[])
Primary=[3306489,152,-42]
}
Add(Memo,492515,651,238)
{
Left=60
Top=5
Width=285
Height=255
AddType=1
ScrollBars=3
}
Add(StrList,3673357,623,41)
{
Strings=#16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|15:93.81.240.87:80|16:93.81.240.87:111|16:93.81.240.87:111|15:93.81.240.87:80|0:|
Point(doGetString)
Point(onGetString)
Point(IdxToSelect)
link(onGetString,8737633:doData,[(668,54)(668,148)(483,148)(483,89)])
}
Add(InfoTip,14774,469,14)
{
Info=#27:Список ip:port для проверки|
Width=218
Height=151
}
Add(Hub,6078942,587,83)
{
link(onEvent1,3673357:doGetString,[])
link(onEvent2,3673357:doDelete,[(613,96)(613,61)])
}
Add(DoData,10645816,540,83)
{
Data=Integer(0)
link(onEventData,6078942:doEvent1,[])
}
Add(Stack,16276923,497,287)
{
link(onPop,7652017:##hdelete,[(543,300)(543,251)])
link(Data,7652017:##eventHandle,[(503,279)(570,279)])
}
Add(Timer,9657903,451,305)
{
Interval=30
link(onTimer,16276923:doPop,[(490,311)(490,300)])
}
карма: 1
1
Голосовали:mmmmm