X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/05ed443780b3696c53e100d7eee9ae63c633e22d..6d099bbe927a1dc3934c7b6254223961fc849453:/NetworkController.h?ds=inline diff --git a/NetworkController.h b/NetworkController.h index 662e519..62f221e 100755 --- a/NetworkController.h +++ b/NetworkController.h @@ -24,11 +24,11 @@ NSMutableArray *remoteServices; NSConnection *serverConnection, *clientConnection; - NSSocketPort *serverPort, *clientPort; + NSSocketPort *clientPort, *serverPort; NSString *remoteHost; BOOL serverOn, clientConnected, connectedToServer; NSData *serverPass, *clientPass; - NetworkObject *clientProxy; + NetworkObject *rootObject, *clientProxy; } + (NetworkController *)sharedController; @@ -39,6 +39,7 @@ - (int)connectToHost:(NSString *)host; - (BOOL)checkForServerAtHost:(NSString *)host; - (BOOL)disconnect; +- (void)resetServerName; - (BOOL)isServerOn; - (BOOL)isClientConnected; - (BOOL)isConnectedToServer;