TSConnection getConnAtDevice(TSDevice matchDevice) {
		synchronized (this.connections) {
			TSConnection conn = null;
			for (int i = 0; i < this.connections.size(); i++) {
				conn = (TSConnection) this.connections.elementAt(i);
				if (conn.getTSDevice() == matchDevice) {
					return conn;
				}
			}
			return null;
		}
	}