TSConnection findOtherConnection(TSConnection conn) {
		synchronized (this.connections) {
			int size = this.connections.size();
			if (size != 2) {
				return null;
			}
			TSConnection otherConn = null;
			for (int i = 0; i < size; i++) {
				otherConn = (TSConnection) this.connections.elementAt(i);
				if (conn != otherConn) {
					return otherConn;
				}
			}
			return null;
		}
	}