Sub JobDone(Job As HttpJob)
If Job.JobName="j" Then
If Job.Success Then
' Log(Job.GetString)
Dim anne As String = Job.GetString
' Log(Job.GetSize/1000)
' timerlog.Enabled=True
Dim yolla2 As HttpJob
yolla2.Initialize("datayolla3", Me)
yolla2.PostString("http://...","action=1&data="&anne)
yolla2.GetRequest.Timeout=3000
'tbldata icin icin
Dim yolla As HttpJob
yolla.Initialize("datayolla", Me)
yolla.PostString("http://...","action=1&data="&anne)
yolla.GetRequest.Timeout=3000
'tblson icin
Dim yolla2 As HttpJob
yolla2.Initialize("datayolla2", Me)
yolla2.PostString("http://...p","action=1&data="&anne)
yolla2.GetRequest.Timeout=3000
'home server için
'yolla.download2("http://...", Array As String ("action", "1", "data",anne))
Else
veri_al
Log("basarisiz1")
End If
End If
If Job.JobName="datayolla" Then
Try
If Job.Success Then
' Log("Success2. Datetime:")
' timeryenile.Enabled=True
Else
Log("Failed2. ")
' Dim yolla As HttpJob
' yolla.Initialize("datayolla", Me)
' yolla.PostString("http://...","action=1&data="&anne)
' yolla.GetRequest.Timeout=3000
' yolla.GetRequest.Timeout=5000
End If
' Log(Job.GetString)
Catch
Log(LastException)
End Try
End If
If Job.JobName="datayolla2" Then
If Job.Success Then
' Log("success3")
timeryenile.Enabled=True
Else
Log("Failed3")
Dim yolla2 As HttpJob
yolla2.Initialize("datayolla2", Me)
yolla2.PostString("http://...","action=1&data="&anne)
yolla2.GetRequest.Timeout=3000
End If
' Log(Job.GetString)
End If
If Job.JobName="datayolla3" Then
If Job.Success Then
' Log("SuccessEV.")
Else
Log("Failed.EV")
End If
' Log(Job.GetString)
End If
Job.Release
End Sub