X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/05ed443780b3696c53e100d7eee9ae63c633e22d..7d031ce4bc1ea4d563508687ee2feb6d985c57f9:/NetworkController.h 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;