X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/2404965b693451fd71dcffd06eb82695e9085389..5c68843e215011cab04f402cb4dc66bec3225081:/NetworkController.h?ds=inline diff --git a/NetworkController.h b/NetworkController.h index 1f1f799..62f221e 100755 --- a/NetworkController.h +++ b/NetworkController.h @@ -24,11 +24,11 @@ NSMutableArray *remoteServices; NSConnection *serverConnection, *clientConnection; - NSSocketPort *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;