 		}
 	}
 	
-	private func handleReceivedMessage(message:Any) {
+	func handleReceivedMessage(message:Any) {
 		if let stringMessage = message as? String {
 			let jsonMessage = JSON.parse(stringMessage)
 			if let response = ServerResponse.parseResponse(jsonMessage) {

	///if we are getting variable updates from the server
	private var watchingVariables:Bool = false
	
	init(_ wspace:Workspace,  source:WebSocketSource, appStatus:AppStatus, networkConfig config:NSURLSessionConfiguration, delegate:SessionDelegate?=nil)
	{
		workspace = wspace

		var sessionBeingOpened: Session?
	}
	static var manager: Manager = Manager()
	
	//MARK: properties
	
	//the workspace this session represents
	let workspace : Workspace
