def onClose(self):
		if(self.remoteConnect):
			self.remoteConnect.sendOpt(self.fileno(), remoteServerConnect.optCloseConnect)
			self.remoteConnect.removeAllCallback(self.fileno())
		sockConnect.onClose(self)
	def onClose(self):
		while len(self.closeCallbackList):
			self.server.addCallback(self.closeCallbackList.pop(0),self)
		sockConnect.onClose(self)