Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b202d328
Kaydet (Commit)
b202d328
authored
Haz 15, 2013
tarafından
siqi
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
before checkout
üst
894d19ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
CommunicationManager.m
ios/iosremote/iosremote/Communication/CommunicationManager.m
+11
-7
No files found.
ios/iosremote/iosremote/Communication/CommunicationManager.m
Dosyayı görüntüle @
b202d328
...
@@ -55,14 +55,18 @@
...
@@ -55,14 +55,18 @@
-
(
void
)
connectionStatusHandler
:
(
NSNotification
*
)
note
-
(
void
)
connectionStatusHandler
:
(
NSNotification
*
)
note
{
{
if
([[
note
name
]
isEqualToString
:
@"connection.status.connected"
]){
if
([[
note
name
]
isEqualToString
:
@"connection.status.connected"
]){
NSLog
(
@"Connected"
);
if
(
self
.
state
!=
CONNECTED
){
self
.
transmitter
=
[[
CommandTransmitter
alloc
]
initWithClient
:
self
.
client
];
NSLog
(
@"Connected"
);
self
.
state
=
CONNECTED
;
self
.
transmitter
=
[[
CommandTransmitter
alloc
]
initWithClient
:
self
.
client
];
[
self
.
delegate
setPinLabelText
:[
NSString
stringWithFormat
:
@"%@"
,
[
self
getPairingPin
]]];
self
.
state
=
CONNECTED
;
[
self
.
delegate
setPinLabelText
:[
NSString
stringWithFormat
:
@"%@"
,
[
self
getPairingPin
]]];
}
}
else
if
([[
note
name
]
isEqualToString
:
@"connection.status.disconnected"
]){
}
else
if
([[
note
name
]
isEqualToString
:
@"connection.status.disconnected"
]){
NSLog
(
@"Connection Failed"
);
if
(
self
.
state
!=
DISCONNECTED
)
{
self
.
state
=
DISCONNECTED
;
NSLog
(
@"Connection Failed"
);
[
self
.
client
disconnect
];
self
.
state
=
DISCONNECTED
;
[
self
.
client
disconnect
];
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment