Subversion Repositories Mobile Apps.GyroMouse

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 5
Line 7... Line 7...
7
//
7
//
8
 
8
 
9
import Cocoa
9
import Cocoa
10
import CocoaAsyncSocket
10
import CocoaAsyncSocket
11
 
11
 
12
//let ServerDiscoveredServicesDidChangeNotification = "ServerDiscoveredServicesDidChangeNotification"
-
 
13
let ServerDidConnectNotification = Notification.Name("ServerDidConnectNotification")
12
let ServerDidConnectNotification = Notification.Name("ServerDidConnectNotification")
14
let ServerDidDisconnectNotification = Notification.Name("ServerDidDisconnectNotification")
13
let ServerDidDisconnectNotification = Notification.Name("ServerDidDisconnectNotification")
15
 
14
 
16
protocol ServerHandlerDelegate: AnyObject {
15
protocol ServerHandlerDelegate: AnyObject {
17
    func serverDidReceivePacket(_ packet: GyroPacket)
16
    func serverDidReceivePacket(_ packet: GyroPacket)