git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Licensing MenuTunes under the GNU General Public License version 2.
[MenuTunes.git]
/
NetworkController.h
diff --git
a/NetworkController.h
b/NetworkController.h
index
ae40030
..
81ba24c
100755
(executable)
--- a/
NetworkController.h
+++ b/
NetworkController.h
@@
-1,13
+1,10
@@
/*
* MenuTunes
/*
* MenuTunes
- * NetworkController
- * Rendezvous network controller
+ * NetworkController.h
*
*
- * Original Author : Kent Sutherland <ksuther@ithinksw.com>
- * Responsibility : Kent Sutherland <ksuther@ithinksw.com>
+ * Rendezvous network controller.
*
*
- * Copyright (c) 2003 iThink Software.
- * All Rights Reserved
+ * Copyright (c) 2003 iThink Software
*
*/
*
*/
@@
-24,11
+21,11
@@
NSMutableArray *remoteServices;
NSConnection *serverConnection, *clientConnection;
NSMutableArray *remoteServices;
NSConnection *serverConnection, *clientConnection;
- NSSocketPort *
serverPort, *client
Port;
+ NSSocketPort *
clientPort, *server
Port;
NSString *remoteHost;
BOOL serverOn, clientConnected, connectedToServer;
NSData *serverPass, *clientPass;
NSString *remoteHost;
BOOL serverOn, clientConnected, connectedToServer;
NSData *serverPass, *clientPass;
- NetworkObject *clientProxy;
+ NetworkObject *
rootObject, *
clientProxy;
}
+ (NetworkController *)sharedController;
}
+ (NetworkController *)sharedController;
@@
-36,9
+33,10
@@
- (void)stopRemoteServerSearch;
- (void)setServerStatus:(BOOL)status;
- (void)stopRemoteServerSearch;
- (void)setServerStatus:(BOOL)status;
-- (
BOOL
)connectToHost:(NSString *)host;
+- (
int
)connectToHost:(NSString *)host;
- (BOOL)checkForServerAtHost:(NSString *)host;
- (BOOL)disconnect;
- (BOOL)checkForServerAtHost:(NSString *)host;
- (BOOL)disconnect;
+- (void)resetServerName;
- (BOOL)isServerOn;
- (BOOL)isClientConnected;
- (BOOL)isConnectedToServer;
- (BOOL)isServerOn;
- (BOOL)isClientConnected;
- (BOOL)isConnectedToServer;